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

Can someone please help me ?
which explorer sailed for france?
Please I have the answers I just want to double check them and Solvekey: B=42  A=93  N=29  X=361. (b-7)(2b-7)2. (4a-4)(5a-7)3. (5n-6)(4n+7)4. (2n=8)(8n+3)5. (6x
which explorer sailed for france?
If it takes Mark twice as long to earn $6.00 as it takes Carl to earn $4.00, what is the ratio of Mark’s pay per hour to Carl’s pay per hour?
how do day and nightat uranus's equator change asthe uranus revolves around the sun?
how do day and nightat uranus's equator change asthe uranus revolves around the sun?
Which of the allies suffered the greatest losses on D-Day
3x+y=4 2x+y=5 solve using linear combination
least number that has 2, 3, 4, as factors