Why is count needed? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is count needed?

Why do we use cout?

15th Nov 2017, 2:46 AM
Daniel Xie
Daniel Xie - avatar
4 Answers
+ 12
cout is used to print a statement on screen. Continue the C++ course, it'll be clearer to you gradually.
15th Nov 2017, 2:54 AM
Shamima Yasmin
Shamima Yasmin - avatar
+ 12
cout - output cin - input btw there is a typo in the question.
15th Nov 2017, 3:33 AM
qwerty
qwerty - avatar
+ 8
edit Character out is used. - Thanks @Ace! To allow the viewer can see text output from the code. http://www.cplusplus.com/doc/tutorial/
15th Nov 2017, 2:56 AM
Manual
Manual - avatar
+ 6
to send characters out to the character display device (normally the console display screen)
15th Nov 2017, 6:04 AM
Kirk Schafer
Kirk Schafer - avatar