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

------- Can someone Help Me please----- When you recognize teachable moments and look to see what strengths are being used, you are showing: ~ options: 1.So
According to this excerpt, which of these best identifies the effect of the growing swarms of bees?
Which materials conducts heat energy the best?
Which of these is true about a ecosystem?
The school bookstore has 108 book covers. They will be equally distibuted among the students in the 2 sixth grade classes. Each class has 18 students. How man
Can anyone help me? I’m stuck
a ray that cuts an angle in half is called
Which river was used as a major trade route for the Midwestern United States?
2.03. which answer best expresses the effects of Parliament passing the coercive (intolerable) acts of 1774, closing the port of Boston?
How has metal been used by civilizations to gain power?