Code Snippets C

#include
#include
int main(void) {
char ch;
printf("Do you wish to continue? (Y/N : ");
ch = getche();
if(ch=='Y') {
/* continue with something */
}
return 0;
}