fabulous43 fabulous43
  • 02-09-2017
  • Computers and Technology
contestada

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

Respuesta :

tonb
tonb tonb
  • 04-09-2017
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...
Answer Link

Otras preguntas

What can you multiply by 3 and add 2 to get -19?
whats 4.40 as a mixed number
What is the relationship between two variables if the product of the variables is constant?
Which of the following agencies would be contacted if an oil rig spilled its contents into the ocean? Department of Transportation Department of Transportation
Ricky jogs twelve blocks in 36 minutes. She says her rate is 1:2. Is she correct? Explain your reasoning in words.
Between which two atoms of water are hydrogen bonds are formed? OA between the hydrogen atom of one water molecule and the oxygen atom of another ОВ. between th
what was the impact of euopean explorations on native americans
erm so yea i need help with my english. anyone gonna tutor me?
find the sum: (-2)+(-1)+(-5)+(+6)how to solve​
Please answer and show work/explain.