Question: QUESTION 18 Write code inside main function. No need to write the header of main function or include libraries. (1) Declare numbers a, b, and

QUESTION 18

  1. Write code inside main function. No need to write the header of main function or include libraries.

    (1) Declare numbers a, b, and c as double type. Enter values for a, b, and c.

    Suppose the tax rate for income is set as follows. income tax rate 0 <= income <= 30000. 5% income > 30000 but <= 75000. 10% income > 75000 but <= 150000. 15% income > 150000. 20% Write the code inside main function (no need to write main function header or include library). (1) enter income from console (2) Calculate tax. (3) print tax.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!