Question: c++ programming Read the instructions carefully And write a program in c++ Financial Account Transactions Loop Create a new Windows console program in project folder
Financial Account Transactions Loop Create a new Windows console program in project folder Lab06-Account Transactions on a suitable drive. Copy the completed version to your H:ICSIS123 folder and turn in a copy of the entire project folder on drive X: Three variables are needed. A char variable holds the single-character transaction code entered by the user. A double variable holds the current value of the dollar balance in the account. Assign an initial value of zero to the balance when this variable is declared. Declare another double variable to accept the prompted dollar amount for either a deposit or withdraw transaction. Prompt the user for a char input variable to indicate if the transaction is a Deposit (D) or Withdrawal (W) The loop ends when the user enters Q to Quit. Any other character input triggers an error message that also shows the incorrect transaction code. Accept upper- and lower-case input. Use the toupper() function to simplify comparisons of the input character. Include the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
