1#include <stdio.h>
2int main() {
3 int number;
4
5 printf("Enter an integer: ");
6
7 // reads and stores input
8 scanf("%d", &number);
9
10 // displays output
11 printf("You entered: %d", number);
12
13 return 0;
14}
15