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

f(x)=x^2+3x+2 2 units left
Select all that apply. No work is accomplished in which of the following situations? a boy carried a 4.0-newton box 3.0 meters across the room at a constant vel
suggest why drugs that prevent reflex action from occurring should be avoided
Consider a triangle with dimensions 2, 2, 3.Which choice gives dimensions of a similar triangle with a scale factor of 8?
The box plots show the data distributions for the number of text messages Will and Jaime sent each day.What is the difference of the medians?
how are the three types of ocean floor sediments classified
To make students more competitive in the work force and for graduate school, college professors are beginning to lower the standard for student grades (i. e. wh
Teresa, i don't need a menu in english. i can read it in spanish. a. lo puedo leer en espa?ol. c. puedo lo leer en espa?ol. b. puedo leer en lo espa?ol.
How much does a^3-2a exceed a^2+a-6
help me plz in few minutes test show all work and explain plz