Question: 1. Plan the logic for a program (flowchart and pseudocode) needed by the sales manager of The Henry Used Car Dealership. The program will determine
1. Plan the logic for a program (flowchart and pseudocode) needed by the sales manager of The Henry Used Car Dealership. The program will determine the profit on any car sold.Input includes the sale price and actual purchase price for a car. The output is the profit, which is the sale price minus the purchase price. Create the program in Python and provide the link to repl.it or attach the .py file. 2. Draw the hierarchy chart and then plan the logic for a program that calculates a person's body mass index (BMI). BMI is a statistical measure that compares a person's weight and height. The program uses three modules. The first prompts a user for and accepts the user's height in inches. The second module accepts the user's weight in pounds and converts the user's height to meters and weight to kilograms. Then. it calculates BMI as weight in kilograms divided by height in meters squared, and displays the results. There are 2.54 centimeters in an inch, 100 centimeters in a meter. 453.59 grams in a pound, and 1,000 grams in a kilogram. Use named constants whenever you think they are appropriate. The last module displays the message End of job. Create the program in Python and provide the link to repl.it or attach the py file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
