Thursday, 13 October 2016

program to upper case a string

#include<stdio.h>
#include<string.h>
int main()
{
char a[10];
int i;
printf ("enter the string :");
gets(a);
strupr(a);
printf("the upper case string :");
puts(a);
}

No comments:

Post a Comment