This is my second assignment and I need to determine if the letter inputed is a Upper-Case, Lower-CAse, Digit, or none of the above...can someone tell me if I am on the right track here? thanks
Bryan
Code:#include <iostream> using namespace std; int main() { float A; cout << "Enter any character then press enter:" << endl; cin >> A; if (statement1) cout << "The character you entered was a Upper-Case Letter" << endl; else if (statement2) cout << "The character you entered was a Lower-Case Letter" << endl; else if (statement3) cout << "The character you entered was a Digit" << endl; else cout << "The character you entered was none of the above" << endl; return 0; }