1 #include2 3 int main() 4 { 5 6 int i; 7 char ch_lower, ch_upper; 8 9 for (i = 1; i <= 6; i++)10 {11 scanf_s("%c", &ch_lower,sizeof(ch_lower));12 if (ch_lower >= 'a' && ch_lower <= 'z')13 {14 ch_upper = ch_lower - ('a' - 'A');15 printf("%c->%c->%d\n", ch_lower, ch_upper, ch_upper % 10);16 }17 }18 19 return 0;20 }