Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Write a’ program to compute the sales tax of a jacket in the State of New York. The sales tax of clothing in NY is computed using the following criteria: 4% tax is collected if the price is less than or equal to 100, 8% tax is collected from the part that is greater than 100. For example, if the price of a jacket is 50 dollars, then the tax is 4% × 50 = 2 dollars. If the price of a jacket is 150 dollars, then the tax is 4% × 100 + 8% × (150 – 100) = 8 dollars. Your program should allow the user to enter the price of a jacket, and the display the tax with two decimal places.

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"