Ask Question
11 April, 15:38

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

+1
Answers (1)
  1. 11 April, 17:41
    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?
Find an answer to your question ✅ “Write a C + + Program to read 2 grades from the keyboard (Math and Physics). ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers