Simple ATM program to widraw money

//simple ATM program to get widraw amount and show whether they input correct possible banknotes
#include <stdio.h>

int main(){

    int money;
    char ch;
    printf("Input your money to widraw: ");
    scanf("%d", &money);
    if((money%100)==0){
        printf("Do you want to widraw it now? (y/n):");
        getchar();
        ch = getchar();
        if(ch=='y'){
            printf("*** sucess!\n");
        }
    else{
        printf("*** fail!\n");
    }
/*
switch(ch){
case 'y':
printf("Success! you did widraw %d baht\n", money);
break;
case 'n':
printf("\nYou cancelled!\n");
break;
default:
printf("invalid input\n");
break;
}
*/
}
    else {
        printf("\nInvalid amount of money, we cannot proceed further\n");
    }

    return 0;
}