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

How successful was the provisional government set up by the Duma?
what two things would cause the ppf of an economy to shift to the right outward?​
Daniel had 25 to spend at the fair if the admission to the fair to s 4 and the rides cost 1.50 each write an inequality that represent Daniels situation
A movie poster is 2 feet wide and 4 feet tall. A frame shop charges $0.10 per foot for a black metal frame. How much would it cost to buy a black metal frame fo
please help me solve this linear equation! thank you if you do help me! it means a lot :))
Which two things did Daedalus’ nephew create that showed his inventiveness was greater than that’s of his uncle?
I WILL GIVE BRAINLIEST!!!
PLEASE HELP!!!! Will give Brainlest and 40 points!!! What is value of x? Enter your answer in the box. x = A triangle with vertices labeled as A, B, and C. Si
An object is projected at 25m/s from the top of a building of height 50m. At the same instant,another object is projected from the bottom of the building in the
How do you solve 2m+4s=16