This c program first inputs an integer and then prints it. Input is
done using scanf function and number is printed on screen using printf.
void main()
{
char a[20];
cout<<"Enter 1 word: ";
cin>>a;
MyString s(a);
cout<<endl;
cout<<"Direct Output: "<<endl;
s.printString();
cout<<endl;
cout<<endl;
cout<<"After UpperCase: "<<endl;
s.UpperCase();
s.printString();
cout<<endl;
cout<<endl;
cout<<"After LowerCase: "<<endl;
s.LowerCase();
s.printString();
cout<<endl;
getch();
}
