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:

Verified
Correct Answer:
Verified
Related Questions
Q20: When must we use braces to define
Q21: The stream that is used for output
Q22: Loops are used when we need our
Q23: The integer 0 is considered true.
Q24: Given the following code fragment and the
Q26: The braces for a loop define the
Q27: Is << used for input or output?
Q28: What is the correct conditional statement to
Q29: What is the value of x after
Q30: What is the output of the following