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

WILL GIVEBRAINLIEST AND 25 PTS PLEASE HURRY!!!Which lines are the directrices of the ellipse? x = −4.25 and x = 8.25 x = −3.25 and x = 9.25 y = −4.25 and y = 8
What is the polynomial in standard form
If we refer to each of the seven wonders by the first letter of its name, which of these is correct in terms of the order in which they were built?
why were the men fighting over the land in the story the interlopes?
2times 2 1/3 as a mixed number
. How did the break up of Yugoslavia affect Serbia and Montenegro? It created a robust economy. It led to war with Bosnian Serbs. It divided Serbia and M
The ksp of tin(ii) hydroxide, sn(oh)2, is 5.45 × 10-27. calculate the molar solubility of this compound.
Correct scientific term for a substance that is burned to provide heat?
Matias stacked his cubes to make this rectangular prism. rectangular prism with grid lines How many cubes did Matias use? cubes
If you write 14 to the power of six in expanded form how many factors will there be