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

Coming from the world of live theater, welles was an expert at staging action dynamically. most of the images in his films, such as citizen kane (1941) are tigh
With this in mind explain the importance of positive and negative controls in this test
Being friendly to others, having good manners, and listening when others are speaking are just a few ways that we can show love.
60 is what percent of 250
The Queen's publicists chose Annie Leibovitz to shoot the queen because they wanted to _____. 1. show the Queen as glamorous 2. launch the American state visit
Pirate seafood company purchases lobsters and processes them into tails and flakes. it sells the lobster tails for $21 per pound and the flakes for $14 per poun
How did Africa’s climate shape the development of its civilizations?
-16 + -8 help me plzzz
What are the coordinates of the midpoint of the line segment with endpoints J(−6, 3) and K(4, −2) ?
Luna Ray has 5 orange picks and no green picks you add some green picks so 1 in every 3 picks is orange.how many picks are there now And it’s not 2