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

what is the meaning or definition of fighting-gear??
The neolithic revolution is most closely associated with....
The formula C = 20x + 5 models the cost of New York Yankees T-shirts, where C is the cost and x is the number of shirts sold. Choose ALL TRUE statements in the
what is the cause and effect for the french citizens armies win their revolution for liberty and equality
What is the change in number of individuals in a population over time? A. population decrease B. population stability C. population growth D. population resista
what is the meaning or definition of fighting-gear??
What is the approximate circumference if the circle that has a center at (2,1) ans passes through the point (2,5). 1. 8 units 2. 13 units 3. 25 units 4. 50 unit
What is the coefficient of y in the expression 12+3y-2x?
The diameter of your bicycle wheel is 25 inches. How far will you move in one turn of your wheel?
What is the change in number of individuals in a population over time? A. population decrease B. population stability C. population growth D. population resista