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

prefiero que nosotros ________ (dar) munchas caminatas por el desierto Fill in thr blank, thank you :)
Mai runs around a 400 meter track at a constant speed of 250 meters per minute. How many minutes does it take Mai to complete 4 laps of the Track?
Add 8 minutes 32 seconds + 37 minutes 18 seconds + 15 seconds
Describe an ideal family in the 1950’s ?
Which major trend in Europe is supported by the information in the map? A. The spread of the Black Death from Europe to Africa, Asia, and the Middle East B. The
How do tidal power plants generate electricity. PLS HELP ME!?!
In the fourteen points Woodrow Wilson advocated
What does Romeo compare his lips to when he first meets Juliet and wants to kiss her? A. to a dove's soft wings B. to jewels shining brightly C. to pilgrims at
Why did Europeans find potentially dangerous sea routes preferable to land?
HELP PLEASEEEE!!! First correct answer gets brainliest! ​