View Code of Problem 25

#include <stdio.h>
int main()
{
	int n, i;
	char x;
	scanf("%d", &n);
	getchar();
	for (i = 0; i < n; i++)
	{
		scanf("%c", &x);
		x = x + 'a' - 'A';
		printf("%c\n", x);
		getchar();
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 25