after i put in a name, and press enter, it doesnt pause to let me see the Hello %s!", name the window just closes. ive tried using the void main thing but it wont work on my compiler for some reason. can anyone tell me why this isnt working?Code:#include <stdio.h> #include <conio.h> #include <string.h> int main() { char name[10]; printf("Please enter your name.\n"); getch(); scanf("%s", name); printf("Hello %s!", name); getch(); }