View Code of Problem 25

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

Double click to view unformatted code.


Back to problem 25