/* * Convert the input file to all upper case. */#include <iostream>#include <cctype>using namespace std;int main() { char inch; // Input character. while(cin.get(inch)) { if(isalpha(inch)) cout << (char)toupper(inch); else cout << inch; }}