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

Which of the following will most likely result from having a healthy state of mental well-being? A. More powerful muscles B. More attractive friends C. More anx
Which of these might affect how an age-of-consent law is interpreted in different states?
2 Points The statement "If A, then B" can best be described as O A. If Ais false, then B must be false O B. If A is true, then B might be true. O C. If Ais fals
also need lots of help.
a book store surveyed 100 customers about their favorite type of book. if 32 costumers preferred science fiction how many customers out of 1500 could be expecte
Steven started with 48 pieces of candy. He ate 3 per day. y= How many pieces will be left after 7 days?
Select the correct answer Which type of lodging does this description refer to? Se clasifican entre una a cinco estrellas. Algunos tienen servicio a la habitaci
Fill in the blank spaces on the dna & rna pairing conversion chart ( please help )
What did the Treaty of Nanjing do?
What is the measure of ABC in the figure below