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

What is the number of real solutions of the equation 2x2 – 3x + 7 = 0?
Draw a graph for the equation y = 0.73x + 7 ​
In school of 600 pupils, 64% walk to school regularly. How many pupils walk to school regularly?
help plzzzzzzzzzzzzz
please help me find the mean and median data set ! (will mark brainliest) and spammers will be reported.
A family in which the husband, wife, or both, bring children from previous marriages into a new family is known as a: single-parent family. binuclear family. nu
A flower gardener discover that all the flower he planted could not grow. The farmer requested the services of an agro technician who after some test discovered
Find the perimeter of the polygon with the vertices U(-2,4), V(3,4) W(3,-4). Round your answer the nearest hundredths
What impact did the fall of Fort Ticonderoga have on the British campaign?
59:29 What is the best definition of the term imagery? illustrations that accompany a text mental pictures evoked by language vivid language that appeals to the