+ 1
I don't understand use of cin
3 Answers
+ 12
âą User Input
To enable the user to input a value, use 'cin' in combination with the extraction operator (>>). The variable containing the extracted data follows the operator.
https://www.sololearn.com/learn/CPlusPlus/1607/
As with 'cout', extractions on 'cin' can be chained to request more than one input in a single statement: cin >> a >> b;
â Read the COMMENTS, you can find useful answers...đ
https://code.sololearn.com/cAx3054d7f4i/?ref=app
+ 4
Used to input data from the command line/console into the program.