#include <stdio.h> |
#include <string.h> |
int main() { |
char str[100]; |
int i, j; |
gets (str); |
for (i = 0, j = 1; j <= strlen (str); i += 2, j += 2) |
printf ( "%c%c" , str[i], |
str[j] >= 'a' && str[j] <= 'z' ? str[j] - 32 : str[j]); |
return 0; |
} |
by: 发表于:2018-05-25 16:04:09 顶(0) | 踩(0) 回复
??
回复评论