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

I need help with the blanks
how were the oregon and santa fe trails different ?
20/10 as a mixed number
what is it called when oxygen passes into the capillaries that surround these sacs?
I have been stuck with this one, and i would like to how to solve this. In each case, determine whether line AB is parallel or perpendicular to CD. (a) A(0, 0),
what were the 4 major causes of imperialism?
Two numbers have a product of 48 and a sum of 19 what are the numbers and how do you know
What is the velocity of an object that has a mass of 2.5 kilogram and a momentum of 1,000 kg·m/sec?
is uncover a base word or roots word. is kingdom a base word or roots word. is valuable a base word or roots word. is beautiful a base word or roots word. is di
How many “dots” would be around the central atom in the Lewis structure of S? A) 5 B) 6 C) 7 D) 4