Question: Write a C program that includes the following: 1. A main() with: o user prompt/entry for name o prompt with Welcome, ! o user

Write a C program that includes the following: 1. A main() with: o user prompt/entry for name o prompt with . Deposit For deposit give an option to whether it is from savings or checking that they want to deposit to;

Write a C program that includes the following: 1. A main() with: o user prompt/entry for name o prompt with "Welcome, !" o user prompt/entry for a 4-digit pin. call pinSize() to check if pin is not 4-digits long. o if not 4-digit long, provide error message and have user retry. o user prompt/entry for confirming their 4 digit pin. call pinCheck() to verify that both pin entries match, o if pins do not match, provide error message and have user try again. if pins do match, provide message "Successful PIN setup!" o start a savings total of $1k and a checking total of $300. Only after pin is set appropriately, provide user with the following menu: A. Deposit B. Withdraw C. Check Balance D. Transfer Funds O ensure user can select an option with upper or lower case entries. o If the user enters a non-valid entry, provide error message and have user try enter menu option again. . Deposit For deposit give an option to whether it is from savings or checking that they want to deposit to; then ask how much. . . . Ask if they would like to deposit cash or check. If it's a check allow them to enter the amount with cents. Withdraw For withdraw provided an option to whether they want to withdraw from savings or checking and then ask how much; then have it decided if it's a multiple of 20. If the withdraw amount isn't a multiple of 20 provide a message "We can not give the exact amount you want because your request isn't a multiple of 20. Check Balance For check balance show balance of both saving and checking accounts. Transfer Funds For transfer funds ask which account they want to transfer from, to what account they want to transfer to, and how much they want to transfer. ensure user can select an option with upper or lower case entries. If the user enters a non-valid entry, provide error message and have user try enter menu option again. . If its cash allow them also to enter the amount, but do not allow cents. If cents are included with their cash entry provided a message "We don't take coins, only the cash amount (provide cash amount they entered) was deposited."

Step by Step Solution

3.44 Rating (170 Votes )

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 Operating System Questions!