TO CONVERT A LOWER CASE TEXT TO UPPERCASE
#include<stdio.h>
Void main()
{
Int count=0;
Char text[80];
Clrscr();
Text[count]=getchar();
While(text[count]!=’\n’)
{
Count++;
Text[count]=getchar();
}
Count=0;
While(text[count]!=’\n’)
{
Putchar(toupper(text[count]));
Count++;
}
Getch();
No comments:
Post a Comment