Question: what do you mean by language ? Unit 2 PM (Performing Maintenance) Exercise This file, Unit 2 PM.docx, represents a working program that requires some

 what do you mean by language ? Unit 2 PM (Performing
Maintenance) Exercise This file, Unit 2 PM.docx, represents a working program that
what do you mean by language ?

Unit 2 PM (Performing Maintenance) Exercise This file, Unit 2 PM.docx, represents a working program that requires some maintenance or improvement Save File As: Firstname Lastname Updated Unit 2 PM.docx (substitute your actual first and last names). Working Program/Pseudocode before modifications: // This program accepts any number of purchase prices // and computes state sales tax as 5% of the value and city sales tax as 2.5% of the value // Modify the program so that the user enters the two tax rates at the start of the program start Declarations num price num STATE_TAX_RATE=0.05 num CITY_TAX_RATE= 0.025 num totalTax num total startup while price not equal to 0 mainloop() endwhile finishUpo stop startURO output "Enter a price or o to quit" input price while price not equal to O mainloop erkwhile finishupo stop stadUn) output "Enter a price or 0 to quit" input price return mainloop() totalTax = price * STATE_TAX_RATE + price * CITY_TAX_RATE total = price + totalTax output "Price is", price, " and total tax is", totalTax output "Total is", total output "Enter a price or 0 to quit" input price return finishUp() output "End of program" return

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!