Ask Question
3 February, 03:27

Write a C + + Program to read 2 grades from the keyboard (Math and Physics).

+2
Answers (1)
  1. 3 February, 07:00
    0
    Cin is discouraged, so I'd go with:

    string math, physics;

    getline (cin, math);

    getline (cin, physics);

    of course, parsing needs to happen to verify that a correct grade was typed ...
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a C + + Program to read 2 grades from the keyboard (Math and Physics). ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers