Write a C program to get all possible two digit letter combinations from a digit (1 to 9) string.
#include <iostream>
int main ( ) {
for ( int i = 1; i <= 9; i++ )
for ( int j = 1; j <= 9; j++ )
std :: cout << i << j << std :: endl;
return 0;
}
Comments
Leave a comment