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

HEY PLEASE HELPP!!!!!!
How much data do sensors collect?​
Please answer fast. I am in desperate need of help... History Question: Why is Jesus important to Christianity? When is this due by? Wed June 2, 2021, by 11:5
Vulcan, Inc., has 7.6 percent coupon bonds on the market that have 9 years left to maturity. The bonds make annual payments and have a par value of $1,000. If t
So I need help because I'm honestly confused.This is like half of my math grade.How do you find the area of your shapes? (Triangle,Circles,Rectangles,Square,Po
2. Write an inequality for each of the following situations: The temperature was less than 7° F. You must be at least 42 inches tall to ride the rollercoaster.
Who sent the Spanish Armada to England in 1588?
The triangles below are similar. Find the length of the missing side (giving brainliest and thanks to all!)
Find the volume of the composite space figure to the right to the nearest whole number.LOOK AT THE PICTURE!!!I NEED IT ASAP PLEASE
Cultural music portrays a society's .