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

Write three numbers greater than 20 that have 9 as a factor
animals have four basic types of _________: nervous, epithelial, muscle, and connective.
Which verb agrees in number with its subject? Many if the runners _________________incredibly fast. A.are b.has c. Is d. Was
how do I find out the answer to 50 is 40% of what number?
give me a division problem involving the division of a decimal by a whole number with an estimated quotient of 7
You can buy 5 cans for green beans at the Village Market for $3.10. You can buy 10 of the same cans of beans at Sam's Club for $5.50. Which place is the better
What type of graph best shows a comparison of a part to a whole?
The seven continents used to be one huge supercontinent called _____.
When a disease can be passed from person to person, it is referred to as a __________ disease. Select one of the options below as your answer: a. communicable
need help in 17 again