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

HELP NOW! What best describes violet light? A. Is a form of infrared light B. Is a form of ultraviolet light C. Has the longest wavelength D. Has the shortest w
A line passes through the points (-3,7) And (6,4). Which shows the graph of this line?
According to chudleigh what should women learn to vslue
What is the axis of symmetry for f(x)=- 3x^ 2 +18x-7? X=-3 X=3 X=-6 X=6
A candle manufacturer sells cylindrical candles in sets of three. Each candle in the set is a different size. The smallest candle has a radius of 0.5 inches and
i need help Assume that you had the power to change the religious system. Write a description of what your version would be like. Include a discussion on what
What would happen if a person got shot in the cheek and the bullet came out the other side?
The Southern Colonies were established mostly for social reasons. cultural reasons. religious reasons. economic reasons.
What is the equation for the translation of x2 + y2 = 9 four units to the right and three units down?
When he first finds the conch, Piggy states that he once saw one on a person’s wall in England and that it’s “ever so valuable.” This association and the fact t