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

y varies directly as x. if x=5 when y=12 find x when y=30
What is 60 divided by 100 and why? ( I got 0.6 but I'm not sure ) plz hurry
What is 60 divided by 100 and why? ( I got 0.6 but I'm not sure ) plz hurry
How did New England's physical geography help the growth of industries?
If item costs $99.99 with 15% off and I get final price. It then asks me what percentage of savings. How do I get the percentage of savings
y varies directly as x. if x=5 when y=12 find x when y=30
My daughter needs a synonym for tired and all the word she has is problem , story and banquet
What is the property, transformation, or simplification used in each step of this problem?    x-7=34
What is 9x^2-24x+ 16
Use the order of operations and the digits 2,4,6 and 8 to create an expression with a value of 2