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

why did explorers search for a northwest passage
Just need help with 2 and 4 :)
Consider the cooling curve above. The substance is changing state from a gas to a liquid to a solid. As the temperature changes we also know that A) there is a
What is the greatest hindrance to New Mexico's economy and prevents population growth?
In at least 100 words discuss why king George lll is portrayed as an old island queen in the song revolutionary tea use evidence from the text to support your a
in the equation 0.80p = 320 what do 0.80,p, and 320 represent
Why do 02 and CO2 pass through the plasma membrane? - they are nonpolar and soluble - they are facilitated by protein - they are “pumped” through - they und
Why do black holes have such a large gravitational field?
Find the slope of the line that passes through (-3,-1) and (-5,4)
Why was John Paul Jones’s victory important in the war?