+ 1
I don't understand use of cin
2 ответов
+ 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.