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

Write a paragraph that describes any historical place in Jordan. (use comparative and superlative structures)
Dicing onions on the same cutting board used for slicing raw beef can cause
Describe the following pattern:0;1;1;2;3;5;8;13​
Which definition of sequence would best fit the context of this passage? My science homework was a mess today. I knew I was supposed to combine water, salt, bak
Which of the following is an important goal related to saving and investing over time? ECONOMIC HELP PLEASE (FLVS)
Jeanette took home a net pay of $ 1 , 100 on her paycheck this week. She worked 40 hours during this specific pay period and had deductions that totaled $ 100 ,
Identify the Platforms Using the drop-down menu, complete these statements. The term hardware. The computer hardware refers to the The Mac OS®, Microsoft® Windo
Question 3 of 10 Engineers are starting on a new project to develop technology. Which of these statements does not describe something they might do at the very
The graph of y = √2x is translated by the vector (-5 3).Find the equation of the resulting graph.
What is a spectrochemical series and it's function