MAINTENANCE02-01 - This program accepts any number of...

This preview shows page 1 out of 1 page.

// This program accepts any number of purchase prices// and computes state sales tax as 6% of the value// and city sales tax as 2% of the value// Modify the program so that the user enters// the two tax rates// at the start of the programstartDeclarationsnum pricenum STATE_TAX_RATE = 0.06num CITY_TAX_RATE = 0.02num totalTaxnum totalstartUp()while price not equal to 0mainLoop()endwhile

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture