+ 2
What is difference between using cin and using cout?If there is difference then when to use each of them?
4 Respostas
+ 3
cin takes the user's input in a console. cout outputs values/strings onto the console
+ 1
If you use cin then you make the user write something in to a variable.
If you use cout you can make do something up on the screen.
I hope it helped (you can also just take the beginner course.)
0
cin is used to give input function to programme:
cout is used to get output from programme:
they are majorly different from each other bro
0
cout:output to screen cin: user input from hardware device like keyboard