c programme to get a number you entered

Solutions on MaxInterview for c programme to get a number you entered by the best coders in the world

showing results for - "c programme to get a number you entered"
Amir
03 Aug 2020
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
similar questions
queries leading to this page
c programme to get a number you entered