0

cin enables us to write in the output we have got????

i think

16th Apr 2017, 3:45 AM
Parikshit Sharma
Parikshit Sharma - avatar
4 Answers
+ 13
int number ; cin >> number; // input to variable cout << number; // display to console
16th Apr 2017, 4:00 AM
Hatsy Rei
Hatsy Rei - avatar
+ 11
cin enables us to input values to variables through the keyboard. cout enables us to output values to the console.
16th Apr 2017, 3:57 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
cin - wait for (user) input (from keyboard) cout - program output (to your monitor screen) at least that's default behaviour for Console IN/OUT streams. But like almost everything you might redefine cin and/or cout.
16th Apr 2017, 7:25 AM
Volker Milbrandt
Volker Milbrandt - avatar
0
i didn't get you plz explain yorself
16th Apr 2017, 3:59 AM
Parikshit Sharma
Parikshit Sharma - avatar