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

The production of four haploid gametes from one mother cell is completed during
What particles are added together to get the atomic mass?
Fin each unit rate. Determine which is lower. Ingredient C: 1/4 cup for 2/3 serving Ingredient D: 1/3 cup for 3/4 serving
how can the fish eating bird have 5 ppm of ddt when the water only started with 0.003ppmm of ddt
what is an identity of an alpha particle
Which us citizens were the last to be given the right to vote for president and vice president? a. women b. poor americans c. african americans d. residents
The heavy rains in south asia are due to the
who discovered by aluminun____________________in_______________
PLEASE HELP! WILL UPVOTE! Which ordered pair is the solution to the system of equations? {2x−y=−5 {x+3y=22 (7, 19) (4, 9) (8, 21) (1, 7)
Which graph could represent a car that begins by increasing its speed, then travels at a constant speed, and then decreases its speed, as time increases?