Print an Integer - How to create a Programme in C to print Integer.



This c program ask user to input an integer and then prints it. Input is done using scanf function and number is printed on screen using printf.

Programme:

Output 1:
Enter an Integer
The Integer you have entered is 5

Output 2:
Enter an Integer
The Integer you have entered is 8



Follow me on:

Comments