Approach
Approach
Modifiers in C++, data types, variables, Switch Case, etc. Below are
the functionalities that are to be implemented:
setvalue(): This function is used here to set the data using
basic input and output method in C++ i.e., cout and cin
statements which display and take input from the keyboard
i.e., from the user respectively.
showvalue(): This function is used to print the data.
deposit(): This function helps to deposit money in a
particular account.
showbal(): This function shows the total balance available
after deposition.
withdrawl(): This function helps to withdraw money from
the account.
main(): In this function, there is a simple switch case (to
make choices) inside an infinite while loop so that every
time user gets to select choices.