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’ve been trying to figure this out for a long time :(
Write an equation and solve. 8 less than a number is 24
Solve for X -10/x = -16/x+3
I don’t know if you can see it but please help i need help fast for number one
answer to this pls hjjjjjj
this isn't really a question ,but a random fact about Fnaf William Aton Springtrap is possessed by a man named William Afton, or known as Purple guy.William Aft
What species of butterflies are the most aesthetically pleasing?
There are 16 cakes and 8 pies and for sale in the bakery. Which statement correctly describes the unit rate of cakes to pies in the bakery? * 1 point There is 2
can someone help me with this please what are the two correct answers??​
There are 435 voting members of the House of Representatives. Who are the non-voting members? How are the duties of non-voting members different from those of