program



write a C++ program that inputs a lower case character, converts it to an upper case character using the function that is below, and then increments it to the next character. Example if Z is enter it should be changed to A. Non letter character shouldn't change when entered.
char uppercase (char ch) {
if ((ch >= 'a') && (ch <= 'z')) {
return ch - 'a' + 'A';
}
else {
return ch;
}
}