You have the following logic structure:
if (num1 <= 40) {
// Assign a value to totalpay
} if (40 < num1) {
// Assign a different value to totalpay
...
Type: Posts; User: Zaphod_b
You have the following logic structure:
if (num1 <= 40) {
// Assign a value to totalpay
} if (40 < num1) {
// Assign a different value to totalpay
...