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

Why does Nixon feel the need to state that he is not a crook? A he is making a joke B his wife has accused him of dishonesty C his party claims that he accepte
I need help with these questions who can help me???
How did the newly formed united nations respond to the acts of genocide committed during world war two
As you stop your car at a traffic light, a pebble becomes wedged between the tire treads. when you start off, the distance of the pebble from the pavement varie
identify the fractions labeled with letters A and B on the scale below. Give answers as a fraction or mixed number.
What is the completely factored form of the expression 16x2 + 8x + 32?
Find mFDE, given that EF is a diameter of the circle
The act of purchasing an unrepairable vehicle for its identification number and certificate is known as the
What large bay separates greenland from baffin island?
A student received an 82% on an exam. If there were 50 questions on the exam, which ratio would show the number of questions answered correctly to the total num