Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help needed in python simple tasks ! Thanx 1. Write a program named program21.py that prompts the user to enter a weight in pounds then

Help needed in python simple tasks ! Thanx

image text in transcribed

1. Write a program named program21.py that prompts the user to enter a weight in pounds then displays the equivalent weight in kilograms accurate to one decimal place. If you don't know how to calculate the conversion, you can find it online. 2. Write a program named program22.py that can determine the commission that a real estate salesperson would earn on the sale of a property. The program should prompt the user for both the selling price of the property and the percent commission rate. For full points, the amount of commission earned should be displayed as currency with: the dollar sign right up against the first digit two decimal places. Note: A user enter a percentage as 2 for 296, so the program would convert the input to 0.02 for calculations 3. Write a program named program23.py that converts an improper fraction to a mixed number. Prompt the user for the numerator and the denominator, then calculate and display the equivalent mixed number. Note there should be no space on either side of the/symbol in the output. See sample runs below. Sample Output 1 Enter numerator 23 Enter denominator 6 The mixed number is 3 and 5/6 Sample Output 2 Enter numerator 7 Enter denominator 3 The mixed number is 2 and 1/3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Performance Indexing In SQL Server

Authors: Jason Strate, Grant Fritchey

2nd Edition

1484211189, 9781484211182

More Books

Students also viewed these Databases questions

Question

Explain the service recovery paradox.

Answered: 1 week ago