c programme to get a number you entered code example
Example: c programme to get a number you entered
#include
int main() {
int number;
printf("Enter an integer: ");
// reads and stores input
scanf("%d", &number);
// displays output
printf("You entered: %d", number);
return 0;
}