C program to input an integer and print it
#include <stdio.h> int main() { int a; printf("Enter an integer : "); scanf("%d", &a); printf("\nInteger that you have entered is : %d\n", a); return 0; }
/*
Output :
Enter an integer : 5Integer that you have entered is : 5
*/