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

An oak tree that is 220 years old produced acorns at two different rates. Until it reached maturity, it produced an average of 900 acorns a year. However, once
Help me on this question plz plz
Which words in the sentence are the appositive? Which words does the appositive rename? The author Charles Dickens wrote some of the best-loved novels of all
Why should mass not be represented by an arrow?
Which statement best describes how the energy stored in ATP is released to drive biochemical reactions? a. Energy is released when the ribose sugar reacts with
how does art inspire some people
How do you put 0.8918 as a fraction
How do you derive the drift velocity equation (I = nAve)?
Which words in the sentence are the appositive? Which words does the appositive rename? The author Charles Dickens wrote some of the best-loved novels of all
The sum of two numbers is 104 and one exceed the other by 10. What are the numbers?