View Code of Problem 25

//	输入数据的第一行为一个正整数T, 表示测试数据的组数。
//	然后是T组测试数据。每组测试数据包含一个大写字母C。
//	对于每组测试数据, 输出它的小写字母。
#include<stdio.h>
#include<math.h>

int main(){
	int casenumber;
	char a,b;
	scanf("%d",&casenumber);
	while (casenumber--) {
		getchar();
                scanf("%c\n",&a);
                b = a + 32 ;
                printf("%c\n",b);
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 25