Program to convert string into upper case using library function


#include<stdio.h>
#include<conio.h>
#include<string.h>

main()
{
 char s[25];
 clrscr();

 puts("enter the string");
 gets(s);

 strupr(s);
 puts("The string in upper case:");
 puts(s);

 getch();
}

0 comments:

Post a Comment