Answers for "c programme to get a number you entered"

C
0

c programme to get a number you entered

#include <stdio.h>
int main() {   
    int number;
   
    printf("Enter an integer: ");  
    
    // reads and stores input
    scanf("%d", &number);

    // displays output
    printf("You entered: %d", number);
    
    return 0;
}
Posted by: Guest on April-23-2021

Code answers related to "c programme to get a number you entered"

Code answers related to "C"

Browse Popular Code Answers by Language