
Sal M.
asked 12/08/20important question needed answered
The complete program below and upload to Moodle under assignment named “Python Lab 1".
*You will need to use a python editor. While there may be one already on your computer, it may be better to use IDLE (free program) which requires you to download it. Link can be found in under the lecture section above.
* (Select either for Windows (you can install any version from 3.8.2) or Mac (the latest version)
Problem to Solve:
PROMPT: BCC is a company situated in Paramus and has determined that its Annual Profits is typically 32.5% of the Total Sales. Write a program that asks the user to enter the projected amount of total sales, then display s the profit that will be made from that amount. (Hint: Use the value 0.325 to represent 32.5 percent).
Sample:
Inputs:
Enter Sales Person Name: Peter John
Enter Projected Total Sales Amount: 50000
Output
-----------------------------------------
Sales Person Name : Peter John
Total sales Amount : $50,000.00
Annual Profits : $16,250.00
======================
1 Expert Answer

Patrick B. answered 12/08/20
Math and computer tutor/teacher
# Online Python compiler (interpreter) to run Python online.
# Write Python 3 code in this online editor and run it.
#print("Hello world")
name = input("Please input the sales persons name :>")
salesAmt = input("Please input the projected total sales amount :>")
print("---------------------------------------")
print("Sales person: "+name)
print("Total sales amount:$" + '{:.2f}'.format(float(salesAmt)*float(1.00)))
profit = float(salesAmt)*float(0.325)
print("Annual profits : $" + '{:.2f}'.format(profit))
print("=============================================")
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Patrick B.
source code uploaded to RESROUCES SECTION under this link12/08/20