I'm trying to play around with functions involving user input, but I don't get any prompt to enter any input when I compile. I've mostly used Python in the past, but I'm starting to get into C. Output works fine as far as I can tell, and I don't get an error message from my IDE. I just can't enter input. This is one of the functions I've tried:
int main(){
int c;
printf( "Enter a value :");
c = getchar();
printf( "\nYou entered: ");
putchar( c );}
It works on programiz.com's online compiler, but I can't get it to work in Sublime. Any idea why this is/how I can fix it?