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

Name and/or describe as many human body systems as you can. what is the function of each body system and what are some of the major organs that are part of each
how do bacteria cause disease?
Develop an argument for or against the following proposed policy: Each president shall appoint two Supreme Court justices within two months of his or her inaugu
Help! Which items are biomass energy sources? Select all correct answers. the sun wood chips manure paper
Copyright law contains an exception known as ______, which provides for a limited set of circumstances where others can use portions of copyrighted material wit
1 1/4 as an equivalent alternative form
A new pizza restaurant uses paid advertisement to increase pizza sales on Mondays. The table below is a record of the restaurant’s sales each Monday for the fir
Help pls i will give 10 points
What symbol or object represents pops in long way down?
One of the best ways to get a better job is to __________. a. relocate b. earn a promotion c. work with a group d. dress professionally please select the bes