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

ΔABC has the vertices A(0, 0), B(-8.5, 3), and C(0, 6), and ΔAXY has the vertices A(0, 0), X(-3, -8.5), and Y(-6, 0). Which transformation can be used on ΔABC t
What is the counterpart theodicy? what is one problem with the view?
Eighteenth century music meant to be played in the evening is called:
More points!! Please answer all questions
Which number should be multiples to obtain 165^2-123^2
An object whose mass is 300 lb experiences changes in its kinetic and potential energies owing to the action of a resultant force r. the work done on the object
how did the chinese exclusion act effect chinese immigrantd who were already in the united states
Can someone answer this?
A pc and two laptops need to be added to a wireless router on the packet tracer network. what icon would provide the correct components?
i need help with this please help the last one is 20 for 4.20