NBA - Boston Celtics

Monday, 22 October 2012

to upper


#include<iostream.h>
#include<string.h>
#include<ctype.h>
void main()
{
char a[80];
cout<<"enter a line :";
for(int i=0;i<80;i++)
{
cin>>a[i];
a[i]=toupper(a[i]);
cout<<a[i];
}
}


No comments:

Post a Comment