Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define <stdio.h>
- int main ()
- {
- char mystrings[8][5] = { {"ABC"},{"DEF"},{"GHI"},{"JKL"},{"MNO"},
- {"PQRS"},{"TUV"},{"WXYZ"} };
- int i,j,k;
- int num;
- printf("Enter a number (3-digit): ");
- scanf("%d", &num);
- printf("\n");
- if (num%10 == 0 || num%10 == 1)
- printf("Invalid input! The number should not contain 0 or 1.\n\n");
- else if ((num/10)%10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement