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

Which type of verb typically includes the word to?
Match the scenarios with the economic concepts they illustrate.
what is 90% of $634?
what is the translation?
resolva a seguinte equaçao -8x-13 = 3 por favor preciso da conta
What is the perimeter of this figure
What is meant by the bioavailability of a vitamin in food?​ ​the total amount available from plant and animal food ​the amount absorbed and subsequently used by
How and what techniques did Claude Monet use to compose the Haystacks paintings?
What factors led to the territorial decline of the ottoman empire over the course of the 19th century? what territories were lost?
What is (2,3) (4,1) (6,2) and (3,5) reflected across the y-axis ? I also need them reflected over the x-axis. Can someone please give me the answers? Thank you