Creata a form as
mentioned below in C#.
It will ask name Customer Name,Customer AccNo, Customer Bal,
Customer Address.when you click on submit button all details must submit in
class object using Constructor function. Class is as follows:
Class Bank
{
String name,address;
Int accno,bal;
Bank(String
na,String add,int ano,int bal){ input
data }
Withdraw(
int amt) {with amt}
Deposit(int amt) {dep amt}
checkStatement(int accno) {check statement here }
}
Further, when user click on deposit a new window should
appear asking deposit amt .
Same should be followed in case of withdraw amt but in
withdraw a module it must take care that if amt is not sufficient to be
withdrawn an “warning message must display on MSG box”.

0 comments:
Post a Comment