C Program to Print an Integer (Entered by the User)
Program to Print an Integer Output Enter an integer: 25 You entered: 25 In this program, an integer variable number is declared. Then, the user is asked to enter an integer number. This number is stored in the number variable. Finally, the value stored in number is displayed on the screen using printf().