while instead of if-else

Printable View