View Code of Problem 25

#include <stdio.h>
int main()
{
	int n;
  	char c;
  	scanf("%d",&n);
  	for(i=0;i<n;++i)
        {
        	scanf("%c",&c);
                 printf("%c",c+32);
        }




}
/*
Main.c: In function 'main':
Main.c:7:8: error: 'i' undeclared (first use in this function)
    for(i=0;i<n;++i)
        ^
Main.c:7:8: note: each undeclared identifier is reported only once for each function it appears in
*/

Double click to view unformatted code.


Back to problem 25