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

graphs of what functions? HELP PLSS
What best describes the relationship between sleep and memory? The quantity of sleep impacts memory, while the quality of sleep does not. The quantity of sleep
Which angle is coterminal with 140°?​
Which of the following sets of ordered pairs defines a relation that is NOT a function? O {(1, 5), (5, 1), (7, 9), (9, 7)} O {(6, 7), (8, 10), (13, 9), (21, 10)
Model trains fascinate everyone—both children and adults. Agree Disagree Explain why you voted the way you did.
Which CPT icon should be considered when entering CPT codes into a spreadsheet for numerical sorting
secondary school in uk with the lowest amount of female students​
2. Using the post-Civil War image above, answer (a), (b), and (c). (A) Briefly describe ONE perspective about citizenship expressed in the image. (B) Briefly ex
Can someone please give me the (Answers) to this? ... please ... I need help….
The graph of linear function g passes through the points (-7, -4) and (7, 6)