Computer Science, asked by anamshaikh7296, 6 months ago

why cin is used, when we are writing cout to display?, or cin is really important to write.​

Answers

Answered by sanjuashmita
1

Answer:

cin is an object of the input stream and is used to take input from input streams like files, console, etc. ... Basically, cin is an input statement while cout is an output statement. They also use different operators. cin uses the insertion operator( >> ) while cout uses the extraction operator( << ).

Explanation:

Please select my answer as soon as possible as BRAINLIST

Answered by da4729204
1

Answer:

cin is used to take input from user we use it when we have to take input from user.

cout is used just too print any message or anything

Similar questions