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

What is the value of the expression? 1 7/8 - 6/4
My sis asking what is verb? What is it? ​
Match the image with its best description
Using the Addition Method, find the value of y in the system of equations 2x1= 3y – 5 and 5x + 6y = 28
Tim will buy a pair of shoes that cost $120.He received a 35% discount coupon. Luckily his friend Mario gets an additional 15% discount being an employee of the
A 4500 kg Aston Martin traveling at 102 m/s has to stop short because some ducklings hazard onto the road. The Aston Martin was able to stop in 1.77 seconds. Ho
The area of a circular fountain is 121pi square feet. What is the diameter of the fountain?
In recent years, the cost for renters insurance has decreased annually. Would you expect this trend to continue? Why or why not?
April is 19, Bryan is 20, Carla is 20, and Dave is 21, how old is Erica is the average of their given ages is 23?
What tertiary function tries to make a decision based upon personal situation, and focuses on the relationship and giving praise to others?1. judging2. Goal-set