40. Write a program to read line of text and to convert it into uppercase.
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char text[50];
clrscr();
printf("\n Input a text:- ");
gets(text);
printf("\n Upper case= %s", strupt(text));
getch();
}
No comments:
Post a Comment