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

What all the multiples of 81?
What were the contributions of the Harappan civilization?
A blue rope is 3 times the length as a red rope. A green rope is 5 times as log as the blue rope of the total length of all 3 ropes equals 508.25m what is the l
Forget the motor When im on the boat Think of the best time To buy a new coat What am I......?
What is 25% of $500.00? I think the answer is $475.00 Can someone verify if twenty five percent of 500.00 is $475.00
a lunch bill including tax, is divided among you and 5 friends. everyone pays less than $8.75. write and solve an inequality that describes the total amount of
What were the contributions of the Harappan civilization?
The ______ was established in 1943 to assist in the transition from a peacetime to a wartime economy ?
find the sum. write each mixed number in simplest form 4 7/8 + 5 1/4
A blue rope is 3 times the length as a red rope. A green rope is 5 times as log as the blue rope of the total length of all 3 ropes equals 508.25m what is the l