Question: Write code that can complete the following tasks. Set the price of Computer A to be $ 1 , 1 5 0 and set the

Write code that can complete the following tasks.
Set the price of Computer A to be $1,150 and set the price of Computer B to be $1350.55
Print out the value of each computer (remember: make the output "people-friendly")
Calculate the cost to buy 2"A" computers and 5"B" computers
Print the calculated cost (remember: make the output "people-friendly")
Modify the code to also calculate and display the tax payable and the total value of Step 3 with tax included
Assume the tax rate is 8.3%- but if you live outside the City of Mesa, calculate using a different rate (just make sure to indicate this in your code comments)

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!