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

How to find the area of a circle ?
How to find the area of a circle ?
What is the percentage increase from 200 to 280
what are the differences between german and english schools
Jim has a box in the shape of a rectangular prism. The area of the base of the box is 48 square inches. The volume of the box is 144 cubic inches. let h= the he
Where and when did Martin Luther King Jr. die?
how many times does 6 go into 312
20/10 as a mixed number
A rectangular bedroom floor has an area of 100 square feet and a length of 10 feet. What is the perimeter of the floor?
where are chromosomes found in eukaryotic cells