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

Please help me im desperate for answers TnT I'll try to give brainliest to the first person who answers
Find the value of the expressions when; a2+b +7 when a=5 and b=11.
What term refers to lowering a part?​
computer network reduces the cost of operation​
Write the point-slope form of the line that has a slope of -7 and passes through the point (10,4).
how did the Aztecs people decide where to settle?​
In line 4 why is the truth described as the pure inmate of thy glowing breast
PLSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSss HELPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
What is a successful result of science
In Act I: Scene ii, Claudius insists that he has consulted the "better wisdoms of his advisers and that the court has "freely gone" with his marriage plans. Is