+ 3

When do you use 'Cin' and when do use 'cout' please?

9th Feb 2018, 1:13 PM
Emmanuel
Emmanuel - avatar
7 Answers
+ 12
Cin- get user input Cout- print output
9th Feb 2018, 1:23 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 2
cin is used for giving input to the computer and cout is used to get results form the computer and go with the course on sololearn you will under stand
10th Feb 2018, 6:27 AM
Shivam Raj
Shivam Raj - avatar
10th Feb 2018, 6:30 AM
Shivam Raj
Shivam Raj - avatar
+ 1
This is a single c++statement Eg: cout << "Hello"; // prints Hello cout << Hello; // prints the content of variable Hello
9th Feb 2018, 7:55 PM
Villanese
+ 1
cin=assign value to variable cout= prints output
9th Feb 2018, 8:03 PM
Rae Perry
Rae Perry - avatar
+ 1
Cin is when we take values from the user and cout is when we want to print something.
9th Feb 2018, 9:33 PM
Fuad
0
cin is an input value cout is an output value
11th Feb 2018, 3:04 AM
divya kishore