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

CIAA is esstablished as constitutional organ to check corruption but corruption is still increasing day by day instead of decreasing. why?​
Which line from Matilda by Roald Dahl contains dialogue? O Naturally Matilda was put in the bottom class, where there were eighteen other small boys and girls a
Someone please help me with this algebra problem
Find the outer perimeter of this figure. Round the answer to the nearest hundredth. If you answer it right I’ll make you brainliest
4. How would atheism view human nature, human purpose, and human flourishing?
How many words can you make in English from the following 4 letters: WXYZ? The repetition of the letters is not allowed. 21 22 23 24
Which statement best summarizes how the effects of the industrial age lead to workplace reforms
Which of the following events started the Red Scare? the Bay of Pigs Invasion the Vietnam War a Soviet defector turned over evidence that the Soviet Union was
I have a lot of algebra problems. Someone help me even with this one please!
Please help me i will give you brainlest