Create a program using c++ compiler that is able to do basic banking transactions. Presuppose that an existing account is available with an initial balance of 10,000 pesos. To perform any transaction, ask the user to enter a valid PIN (Personal Identification Number- 445236). You may include added features to make the program better. Check Balance Deposit Withdraw Exit Enter Transaction Number Here: 1 Available Balance: 10000.00 Do you want to continue? [Y or y] Yes [N or n] No Enter Here: Y Check Balance Deposit Withdraw Exit Enter Transaction Number Here: 2 Enter Amount: 2500 Transaction Complete… Your Account is updated… Do you want to continue? [Y or y] Yes [N or n] No Enter Here: Y Check Balance Deposit Withdraw Exit Enter Transaction Number Here: 1 Available Balance: 12500.00 Do you want to continue? [Y or y] Yes [N or n] No Enter Here: Y Check Balance Deposit Withdraw Exit Enter Transaction Number Here: 3 Enter Amount: 8000.00 Transaction Complete… Your Account is updated… Do you want to continue? [Y or y] Yes [N or n] No Enter Here: Y Check Balance Deposit Withdraw Exit Enter Transaction Number Here: 1 Available Balance: 4500.00 Do you want to continue? [Y or y] Yes [N or n] No Enter Here: N Thank you for using this system… Have a great day! Please take note/consider the following: Negative Values Insufficient balance Incorrect PIN code Number of Trials (MAX 3 consecutive incorrect PINs - end the program)
Addition of Two Numbers
Adding two numbers in programming is essentially the same as adding two numbers in general arithmetic. A significant difference is that in programming, you need to pay attention to the data type of the variable that will hold the sum of two numbers.
C++
C++ is a general-purpose hybrid language, which supports both OOPs and procedural language designed and developed by Bjarne Stroustrup. It began in 1979 as “C with Classes” at Bell Labs and first appeared in the year 1985 as C++. It is the superset of C programming language, because it uses most of the C code syntax. Due to its hybrid functionality, it used to develop embedded systems, operating systems, web browser, GUI and video games.
- Create a
program using c++ compiler that is able to do basic banking transactions. Presuppose that an existing account is available with an initial balance of 10,000 pesos. To perform any transaction, ask the user to enter a valid PIN (Personal Identification Number- 445236). You may include added features to make the program better.
Check Balance
Deposit
Withdraw
Exit
Enter Transaction Number Here: 1
Available Balance: 10000.00
Do you want to continue?
[Y or y] Yes
[N or n] No
Enter Here: Y
Check Balance
Deposit
Withdraw
Exit
Enter Transaction Number Here: 2
Enter Amount: 2500
Transaction Complete…
Your Account is updated…
Do you want to continue?
[Y or y] Yes
[N or n] No
Enter Here: Y
Check Balance
Deposit
Withdraw
Exit
Enter Transaction Number Here: 1
Available Balance: 12500.00
Do you want to continue?
[Y or y] Yes
[N or n] No
Enter Here: Y
Check Balance
Deposit
Withdraw
Exit
Enter Transaction Number Here: 3
Enter Amount: 8000.00
Transaction Complete…
Your Account is updated…
Do you want to continue?
[Y or y] Yes
[N or n] No
Enter Here: Y
Check Balance
Deposit
Withdraw
Exit
Enter Transaction Number Here: 1
Available Balance: 4500.00
Do you want to continue?
[Y or y] Yes
[N or n] No
Enter Here: N
Thank you for using this system… Have a great day!
Please take note/consider the following:
- Negative Values
- Insufficient balance
- Incorrect PIN code
- Number of Trials (MAX 3 consecutive incorrect PINs - end the program)

Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images









