please answer this question
Attachments:

Answers
Answered by
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).
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
Math,
8 months ago
English,
8 months ago
Math,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago