Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 29)
29.
Which of the following statements allows the user to enter data at the keyboard?
cin << currentPay;
cin >> currentPay;
cout << currentPay;
cout >> currentPay;
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
3 comments Page 1 of 1.

Jagdeepsandhu said:   1 decade ago
We know that cin>> is used for input from the keyboard and cout<< is used to display the output on the screen.

Vikas Bhau said:   1 decade ago
How it can be: cin >> currentPay;?

Priya said:   8 years ago
cin>> is used to get input from the user. So we can say that it allows the user to enter data.

Post your comments here:

Your comments will be displayed after verification.