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

calculate the average speed of spacecraft orbiting mars
I don't get exponents
Which statements correctly describe the Delian League? Choose all answers that are correct. a. Athens dominated the league and meddled in the affairs of other
what is 12/75 simplest form
what brought an end to the dominance of the silk road ?
how much is half of 2.25
If you need a wet paper towel out on the counter is a vintage I was change of state cuts is this
Organisms are discovered to be living in a deep-sea trench. They are most likely _____. a. eukaryotes b. viruses c. archaeabacteria d. eubacteria
During World War I, why was propaganda important for the war efforts?
a bridge is 500m long. A 100m long train crosses it at a speed of 30m/s. Find the time taken by the train to cross it.