Input statements allow the user to enter data that a program uses to perform necessary computations. Users enter the data when they encounter the statements like the scanf() or gets() functions in the program.
Step-by-step explanation:
The scanf() is the function that is used to take inputs from the user with the help of the standard input device,i.e, the keyboard.
scanf() function is capable of taking any data type as an input, though it has to be specified first like %d for integers, %s for strings and %f for floating-point type. The gets() function can only take a string as an input.