Computer Science, asked by ankit8232, 1 year ago

please answer this question

Attachments:

Answers

Answered by RahulMalkani
0
To take input:
int a;
cin>>a;

To take output:
int a = 10;
cout<< a;

Use of input and output:
In any application, we need some raw data from user to process and generate information and display it as a output to the user.

For example: If you're a basic program which adds two numbers and display the addition.

In order to generate output, first we need two numbers as a input(using cin) from the user and we will perform addition and then we'll display it to user(using cout).
Similar questions