วันพฤหัสบดีที่ 19 กันยายน พ.ศ. 2556

If-else (Hard)

Use If-else statement to write a program to calculate taxed based on the following tax code:
      income < 1000,                  tax = income * 20 percent
      1000<=income<2000 ,       tax = income * 30 percent      
      income > =2000,                  tax = income * 40 percent



ไม่มีความคิดเห็น:

แสดงความคิดเห็น