What is the use of the input ( ) statement? Explain with the help of an example
answer fast it's urgent
Answers
Answered by
1
input() statement asks user to input a value to store in the variable.
In c program, we use
scanf("%d",&a);
which asks user to input an integer value which stores in the variable 'a'
Answered by
0
Answer:
Input statement is used to take input from the user during the execution of the program.
Explanation:For example: x =input (" what is your name?")
Input statement is used to take input from the user during the execution of the program.
Explanation:For example: x =input (" what is your name?")
Similar questions
English,
9 days ago
Math,
9 days ago
Environmental Sciences,
9 days ago
English,
18 days ago
Math,
9 months ago