Code
// C program to print an integer entered by the user... # include <stdio.h> int main (){ int num; printf("Enter an integer:\n"); scanf("%d",&num); printf("You entered:%d",num); return 0; }
Output
Enter an integer: 12 You entered:12