Loading...

Reading Input Example

Programme:

#include <stdio.h>
 
int main()
{
    int number;
 
    printf( "Please enter a number : " );
    scanf( "%d", &number );
    printf( "You entered : %d", number );
    getchar();
    return 0;
}

Output:

Please enter a number : 62
You entered : 62