View Code of Problem 25

#include<stdio.h> 
#include<string.h>
#include<math.h>
#include<ctype.h>
#include<stdlib.h>
int main(){ 
    int n;
    scanf("%d",&n);
    char a;
    for(int i=0;i<n;i++){
    	getchar();
    	scanf("%c",&a);
    	if(a>='A'&&a<='Z') a+=32;
    	printf("%c\n",a);
	}
    return 0; 
     
}

Double click to view unformatted code.


Back to problem 25