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

10 x 1/2+(-6)(-3) simplified in steps
Well, son, I'll tell you: Life for me ain't been no crystal stair. It's had tacks in it, And splinters, And boards torn up, And places with no carpet on the flo
PLEASE HELP Picture above
ifp=3 and q = 4 evaluate the following expression:
What’s is the solution to the equation x to the power of 2 =16/25
How many years, to the nearest tenth, will be needed for $5000 to increase to $18000 at 3.0% annual interest compounded
a bus traveled 60 km of north of its terminal. From this point, it traveled km east. How far is the bus from the terminal?
Mr. Richards garden is shaped like a rectangle. The length of garden is 10 meters more than twice the width. What expression represents the length in meters of
Hello I really need helo with this assignment! ​
What is different about Scrooge when he says “Remember it? I could walk it with a blindfold?”​