Why we use cout & cin in c++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why we use cout & cin in c++?

12th Oct 2016, 4:26 AM
shivani
shivani - avatar
4 Answers
0
cout is used to print something on console screen cin is used for giving input
12th Oct 2016, 4:39 AM
Joshna Reddy
Joshna Reddy - avatar
0
these are stream objects cout is use for print some thing on screen cin use for givig input
12th Oct 2016, 5:35 AM
Ansh
Ansh - avatar
0
to print the result we use cout and to get the values we use cin
12th Oct 2016, 3:47 PM
Nakul Pranao
Nakul Pranao - avatar
0
we use cout to print anything ...and cin to take the input
17th Oct 2016, 4:53 AM
Shekhar Jha
Shekhar Jha - avatar