What is the use of cin ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the use of cin ?

14th Oct 2017, 7:30 AM
Sandhya Bhawsar
Sandhya Bhawsar - avatar
5 Answers
+ 3
for instance, if you want to make a simple calculator like var i*j, those i and j are cin, the user enters the numbers thanks to that command. is it clearer amiga?
14th Oct 2017, 10:55 AM
Kustaa
+ 1
cin -> It reads the user input As like scanf - > in C language
14th Oct 2017, 7:35 AM
Bharath_Teki 🇮🇳
Bharath_Teki 🇮🇳 - avatar
+ 1
i didnt get
14th Oct 2017, 7:43 AM
Sandhya Bhawsar
Sandhya Bhawsar - avatar
+ 1
can anyone explain me by giving an example ...? it would me a great help
14th Oct 2017, 2:20 PM
Sandhya Bhawsar
Sandhya Bhawsar - avatar
0
to receive info from the user
14th Oct 2017, 1:20 PM
Israel Debrah
Israel Debrah - avatar