Question: WRITE IN C LANGUAGE Design a small program that will keep track of a sample bank account balance. The starting balance is $162.54. Note: -

WRITE IN C LANGUAGE
Design a small program that will keep track of a sample bank account balance. The starting balance is $162.54. Note: - When printing the dollar amount, please include the '\$' symbol and display 2 points of decimal precision. - Provide your source code (.c) file in a separate file - Provide snapshots of your running code. Attach the outputs in a word or PDF file. Instructions: - Show the user the current account balance. - A prompt will ask the user to deposit (denoted with the character 1+ ') to the account or withdraw (denoted with the character '-') from the account. - A prompt will ask for the amount of money. - Perform the addition or subtraction and update account balance variable. - Show the new balance of the account to the user. Example (deposit): Current balance: $162.54 Deposit ( + or withdraw ():+ Enter amount: $11.46 New balance is: $174.00 Example (withdraw): Current balance: $162.54 Deposit (+) or withdraw (): Enter amount: $3.99 New balance is: $158.55
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
