I have problem in this c program
#include <stdio.h>
int main()
{
int this_is_a_number;
printf( "Please enter a number: " );
scanf( "%d", &this_is_a_number );
printf( "You entered %d", this_is_a_number );
getchar();
return 0;
}
when i press ctrl+F9 the output screen appears
" Please enter a number:"
and when i enter the number(5) i press the enter key
the program is redirected to the compiler again.
When i run it second time then i can see the output
"you entered 5";