Question: 1 . Ask user to enter monthly tips and then display annual income including tips 2 . Calculate the amount taxed on pay and tips.

1. Ask user to enter monthly tips and then display annual income including tips
2. Calculate the amount taxed on pay and tips.
Assume a flat rate of \(3.25\%(0.0325)\) tax on pay and \(5.75\%(0.0575)\) tax on tips
3. Display the total salary in terms of dollars and cents (round to 2 decimal places)
```
[] # Activity 1.3
# This program demonstrates two ways
# a floating-point number can be displayed
# as currency.
monthly_pay =100.34
annual_pay = monthly_pay *12
print('Your annual pay is $', format(annual_pay, ',.6f'), sep='')
print(f'Your annual pay is ${annual_pay:,.2f}')
# Tax percentage variables
income_tax_percent ='''YOUR CODE HERE'''
tips_tax_percent =''''YOUR CODE HERE'''
# Ask user for tips income
tips ='''YOUR CODE HERE''`
# Calculate taxes and gross pay
tips_tax ='''YOUR CODE HERE'''
income_tax ='''YOUR CODE HERE'''
annual_pay ='''YOUR CODE HERE'''
gross_pay ='''YOUR CODE HERE'''
# Using the format keyword to add , and round to 2 decimal places
'''YOUR CODE HERE'''
# Display gross pay
'''YOUR CODE HERE'''
# Using an f string to add , $ and round to 2 decimal places
```
# Using an f string to add , $ and round to 2 decimal places
'''YOUR CODE HERE'''
# Display gross pay using f string
'''YOUR CODE HERE'''
1 . Ask user to enter monthly tips and then

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 Programming Questions!