View Single Post
Old 09-23-2005, 10:17 AM   #8 (permalink)
josh2two
Registered User
 
Join Date: Sep 2005
Posts: 22
josh2two is on a distinguished road
it has to do these operations to whatever the user enters:

THIS IS WHAT I HAVE SO FAR

char message[50];
cout<<"Enter a string: ";
cin>> message;
cout<<"After capitalizing the first letter of this string it becomes: ";
message[0] = toupper (message [0]);
cout<<message;
cout<<"\n""After capitalizing the last letter of this string it becomes: ";
cout<<message;
cout<<"\n""After adding three to the first letter of this string it becomes: ";
cout<<message;
cout<<"\n""After swapping the first and last letters of this string it becomes: ";
cout<<message<<"\n""\n";
system("PAUSE");
system("CLS");
josh2two is offline   Reply With Quote