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

Read the passage I say, then, that the years [of the era] of the fruitful Incarnation of the Son of God had attained to the number of one thousand three hundred
Question 1 What's the Prime Factorization of 36? Group of answer choices 3 x 2 x 6 2 x 2 x 9 3 x 3 x 4 2 x 2 x 3 x 3 Flag this Question Question 2 What's the Pr
what is a line of reflection in math
Which statement best describes what happens when k is changed from 2 to – 3
WILL GIVE BRAINLIEST!! Write an inequality for the graph
Music lessons cost $20 per week. How much do 6 weeks of lessons cost? An expression is The cost is $ Also what is an expression
Which of the following questions is most likely answered in this excerpt? The team began working on the wheels in 2009. The wheels do not look like typical car
C is the circle with equation x^2+y^2=1 , Q(1/2,square root of 3/2) is a point on C. The equation of the tangent to C at the point Q can be written in the form
What is the authors main opinion write 3-4 reasons Plzzz helpp I’ll mark brainlistttt
Pls help I’m failing math I’ll brainlest