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

3. Given the reaction: C3Hs +5 3 CO2 + 4H2O What is the total nuunber of moles of O2 required to produce 1.5 moles of CO2? A) 1.5 B) 2.5 C) 3.0 D) 5.0
Prompt Write an essay that analyzes how a text explains the sequence of events that affected the discovery of the Rosetta stone​
Please help!! is it 16?​
A plane flies a distance of 300km without stopping and takes 1½ hours, what is the average speed of the plane in km/hr​
Please answer it correctly and I'll mark it​
What is the place value of 7 in the number 2376400? A.70 B. 700 C 7000 D. 70000 E 700000
divide 2x²+5x+2 by 2x+1​
what did hutton and lyell conclude about earths history
. In your own words, define plagiarism?​
a student pushes a 0.500 kg trolley along a frictionless surface and accelerates it from rest to 4m/s. how much kinetic energy does the trolly gain?​