// Justin C. Miller
// University of Wisconsin Oshkosh
// Made for: http://www.geocities.com/neonprimetime.geo/index.html
// Date: 2001
// Borland Builder 4.0
// toupper() and tolower()
#include
#include // must include ctype.h
// to use toupper and tolower
int main()
{
char myfirstletter = 'a' ;
// toupper converts a lowercase letter to uppercase
char printitout = toupper(myfirstletter) ;
cout << printitout << endl ;
char mysecondletter = 'B' ;
// tolower converts a uppercase letter to lowercase
printitout = tolower(mysecondletter) ;
cout << printitout << endl ;
return 0 ;
}
// output is
// A
// b
               (
geocities.com/neonprimetime.geo/cpp)                   (
geocities.com/neonprimetime.geo)