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

We all were tired so we fell asleep
How do idols and the social media influence the way we live ?
What’s the answer to 1 and 2??? Whoever gives me the right answer gets brainlest Due in 30 minutes Answer ASAP
HELP ME PLEASE!!! If I were to look at a distant star that was 136 light years away, I would be seeing it as it was how many years ago?
GO b. at d. sleep c. will you do d. mas vou do 35. is she? - She's Jennifer Walker from New York . a. What b: Who c. Whom d. Which 36. Tom is a good pupil. lle'
What is physical description of Risa Ward in unwind
PLEASE HELP ME! im struggling :/ 2. Which statement is true for the graph of f(x) = 2x3 – 6r2 – 48x + 24?
What is the range of the function on the graph all real numbers all real numbers less than or equal to 1 all real numbers less than or equal to 3 all real numbe
llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
5. Which of the following was most affected by the issues in the photograph to the right? rise of organized labor building of the Erie Canal northern migrati