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 don’t know I need help
Line I and h intersect at what point
Can anyone make up a poem that has refrain it in? About pink! make sure it's sings WILL MARK BRAINLIEST! WORTH 30 POINTS!
A store sells a coat in three sizes: small, medium and large. The coat comes in red, navy, and tan. Sales numbers are shown in the table. Find the probability t
The graph shows the total number of inches of snow after different numbers of hours. Which equation can be used to find the total number of inches of snow, y,
chemical reactions occur in predictable ways
Maintain a positive self-concept
If I dilute 120 mL of a 1.3 M solution until the new concentration is 0.83 M, what is the new volume? Round to the nearest WHOLE NUMBER and DO NOT include units
Find the distance between the points (2,5) and (1,-2)
State one rule pertaining to colons.