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

which expression is equivalent to x^4-y^4?
Wages. JoAnn works in the publicity office at the state university. She is paid $10 an hour for the first 35 hours she works each week and $15 an hour for every
What organs work with skin?
Which of the following categories includes the most distantly related organisms? (A) family (B) species (C) class (D) genus (E) order
name the four southwestern states where many Mexicans lived originally or settled
What organs work with skin?
A mouse population starts with 2,000 mice and grows at a rate of 5% per year. The number of mice after t years can be modeled by the equation, P(t)=2000(1.05)^t
Help??? What is 3x+5x=67y?
Many colonial people volunteered to fight for the Allied forces because they hoped their service would win their colony's ____
do you know how to say my in Spanish?