Question
You are required to create a C# Console application using Visual Studio with the following functional requirements: Consider that you need to develop a system
You are required to create a C# Console application using Visual Studio with the following functional requirements:
Consider that you need to develop a system for a bank to deposit and withdraw customer amounts. To perform these tasks you need to consider the following requirements.
- You are required to use your VUID as the customer account number.
- Constructor should be there to assign initial values and take input from the user.
- Deposit function to deposit some amount and take input from the user.
- You are required to take the first three digits of your VUID as a deposit amount. For example, Your VUID is BS123056789 so you need to
enter 123 as the deposit amount. - You will use the current account balance as 1000(fixed). No need to take it as input from the user.
- After entering the deposit amount, a message box or dialog box will appear on the screen that will show your current balance.
(Hint: You need to inherit window form functionalities into your console application and include window form namespaces.)
-After clicking ok on the dialog box, you will take the withdrawal amount as input and this amount will be any three consecutive digits of your VUID from which at least two digits should be nonzero. For example, Your VUID is BSI23056789 so you can take 123,056 or 789 as your input.
-While you input your cligits on screen a windows form will appear and when you click the “Withdrawal” button, it will perform the
functionality of Event occurrence that will first check your current balance is not less than your withdrawal amount and if your current balance is less then it will show you an error message “Not sufficient balance’. You can set the location of the button on-screen according to your choice
- If your withdrawal amount is less than your current balance then after clicking the button, the program will show the remaining balance after deducting withdrawal amount.
Step by Step Solution
3.33 Rating (150 Votes )
There are 3 Steps involved in it
Step: 1
The detailed ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started