+ 3
When do you use 'Cin' and when do use 'cout' please?
7 Antworten
+ 12
Cin- get user input
Cout- print output
+ 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
+ 1
This is a single c++statement
Eg:
cout << "Hello"; // prints Hello
cout << Hello; // prints the content of variable Hello
+ 1
cin=assign value to variable
cout= prints output
+ 1
Cin is when we take values from the user and cout is when we want to print something.
0
cin is an input value
cout is an output value