Question: Write a program in C for: Design a simple ATM service kiosk. This kiosk supports the following options for its menu: 1. Viewing your account

Write a program in C for:

Write a program in C for: Design a simple ATM service kiosk.This kiosk supports the following options for its menu: 1. Viewing your

Design a simple ATM service kiosk. This kiosk supports the following options for its menu: 1. Viewing your account balance 2. Depositing cash 3. Withdrawing cash 4. Leave kiosk Initially, the account balance is $0.00. When you deposit cash, this account balance is increased by your deposit amount. Similarly, when you withdraw cash, this account balance is decreased by your withdrawal amount. You cannot withdraw more than what exists in the account. Similarly, you cannot deposit a negative cash amount. Use a switch statement to perform the respective operation in the menu. The ATM kiosk provides these three options until the user selects the option to leave the kiosk. At the end of every transaction, the user is being asked if they need to perform another transaction. Use a do-while to satisfy this last requirement. Example and expected output

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!