Question: InClass 3 _ 1 1 . py #Prompt the user to enter account type: S for savings account, C for checking account #Prompt the user

InClass3_11.py
#Prompt the user to enter account type: S for savings account, C for checking account
#Prompt the user to enter balance
#Compute and display the ending balance based on this rule:
# There is $5 penalty if checking account balance falls below $100
# Savings account receives 4% interest and checking account receives 2% interest
#Deduct the penalty before adding the interest
#0utput format: Ending balance: $...
#The program must not be case sensitive
#Use placeholder & format to round the ending balance to 2 decimal places
#Examples:
#Enter account type (S for savings account or C for checking account): S
#Enter account balance: 500
#Ending balance: $520.00
#Examples:
#Enter account type (S for savings account or C for checking account): C
#Enter account balance: 50
#Ending balance: $45.90
#Examples:
#Enter account type (S for savings account or C for checking account): C
#Enter account balance: 150
#Ending balance: $153.00
NEED IN PYTHON CODE PLEASE AND THANK U!
 InClass3_11.py #Prompt the user to enter account type: S for savings

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