Question: Python: Programming Show (1) the analysis, (2) the specifications, (3) the flowchart, (4) the code, and (5) the test for all the following problems: 1.

 Python: Programming Show (1) the analysis, (2) the specifications, (3) the

Python: Programming Show (1) the analysis, (2) the specifications, (3) the flowchart, (4) the code, and (5) the test for all the following problems: 1. (12 points) Total Purchase A customer in a store is purchasing five items. Write a program that asks for the price of each item, then displays (1) the subtotal of the sale, (2) the amount of sales tax, and (3) the total. Assume the sales tax is 7 percent 2. (12 points) Miles Per Gallon A car's miles per gallon (MPG) can be calculated with the following formula: MPG = miles driven gallons of gas used Write a program that asks the user for the number of miles driven and the gallons of gas used. It should calculate the car's MPG and display the result. 3. (12 points) Sphere Volume and Surface Write a program to calculate the volume and the sphere surface area of a sphere from its radius, given as input. Here are the formulas you need: 4 Var A r2 4. (12 points) Slope of a line Two points in a plane are specified using the coordinates (x1.71), and (x2,52). Write a program that calculates the slope of a line through two points entered by the user Slope y2-y1 2- x1 5. (12 points) Arithmetic, Smallest, and Largest

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!