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

Which substance—wood or steel—is the better conductor? A conductor is a material that requires very little heat energy to experience a change in temperature. Ex
One ton is 2000 pounds so how many 50 pound bags does it take to make 3 tons
Rename the number 600,000
What number can go into 270 and 3000
Is 500 is 10 times as much as 50 correct
when i take half of my number and add two, i get twenty four
what is the estimate of 324867 plus 6233
what is one reason the colonists had difficulty coming together to revolt against Britain
Which of the following was considered a geographic barrier to early Georgian settlers because of heavy forests, dense undergrowth, and steep ridges? Appalachia
fort knox holds 147,300,000 onces of gold. write the number that is one million more