Ask Question

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

+3
Answers (1)
  1. 31 July, 17:04
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers