why cin is used, when we are writing cout to display?, or cin is really important to write.
Answers
Answered by
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
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
Computer Science,
2 months ago
Math,
2 months ago
India Languages,
5 months ago
Hindi,
10 months ago