A company has determined that its annual profit is typically 23 percent of total sales. Write a program that asks the user to enter the projected amount of total sales, and then displays the profit that will be made from that amount.
Hint: use the value 0.23 to represent 23 percent.
A program to display the profit that will be made from that amount.
annualprofitpercentage = 0.23
projectedAmount=float(input("Enter the projected amount of total sales:"))
profit = projectedAmount * annualprofitpercentage
print(profit)
Sample output:
Enter the projected amount of total sales:1000
230.0
>>>