#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<iostream.h>
void main()
{
char st1[100],st2[100];
clrscr();
cout<<"Enter line of text : ";
gets(st);
strcupr(st);
cout<<"\nIn upper case : "<<st;
getch();
}
///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........