In this website http://ideone.com/B46hTk ,,,,,,, i have a program that need to b
ID: 3533742 • Letter: I
Question
In this website http://ideone.com/B46hTk ,,,,,,, i have a program that need to be completed, the question is: Read a letter grade as one character, the valid letter grades are A,B,C,D and F. In case the input character is a valid letter grade, it prints the corresponding numeric grade (e.g. 4.0 for A, 3.0 for B, etc.). In case the input character is some other non blank character, it prints an error messege. please use if-else statments and switch statment. and check the website, please help, ill rate 5 to life saver.
Explanation / Answer
#include using namespace std; int main() { char ch; double num = 0.0; cin >> ch; switch (ch) { case 'A': num=4.0; coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.