Solved

Which of the Following Lines Correctly Reads a Value from the Keyboard

Question 25

Multiple Choice

Which of the following lines correctly reads a value from the keyboard and stores it in the variable named myFloat?


A) cin > > myFloat;
B) cin << myFloat;
C) cin >> "myFloat";
D) cin >> myFloat >> endl;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions