laging papasok yung execution of code dun sa inputRoomNum >= 10 condition. whatever the number of rooms inputed whether 30 or 20 or 10 papasok parin sya sa condition na inputRoomNum >= 10.
the if statement should be something like this:
int inputRoomNum = 32; // This variable is supposed the inputed number of rooms booked. it is inputed by the user later on.
double discount = 0.10;
laging papasok yung execution of code dun sa inputRoomNum >= 10 condition. whatever the number of rooms inputed whether 30 or 20 or 10 papasok parin sya sa condition na inputRoomNum >= 10.
the if statement should be something like this:
int inputRoomNum = 32; // This variable is supposed the inputed number of rooms booked. it is inputed by the user later on.
double discount = 0.10;
laging papasok yung execution of code dun sa inputRoomNum >= 10 condition. whatever the number of rooms inputed whether 30 or 20 or 10 papasok parin sya sa condition na inputRoomNum >= 10.
the if statement should be something like this:
int inputRoomNum = 32; // This variable is supposed the inputed number of rooms booked. it is inputed by the user later on.
double discount = 0.10;