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

To improve the logic and flow of the essay, the writer should revise sentence 5 by replacing the word "money" with the word "dough. " deleting the sentence to c
What were the causes and effects of the end of the cold war?.
helppp meee please eee
Mark said, "in the data set,4, 5, 5, 8, the mean and mode the same. " Is he correct? Explain why or why not in your explanation make sure to state the value of
is pi to the second power rational, real, irrational, integer, whole, or natural
PLS HELPPP WHAT IS THE ANSWER????
Find the surface area of the cone in terms of pi. 15cm 3cm
The type of intelligence that howard gardner described as individuals’ abilities to understand themselves and to be aware of their talents and limitations is:.
Why is it more beneficial to interact with your audience using hootsuite, rather than engaging natively from specific social accounts?.
true or false : Confirmation of Supreme Court nominees typically takes longer today than in the past