Computer Science, asked by Anonymous, 23 days ago

Design class called Bank with the following descriptions:
Data members:
name : to store the name of the depositor
acno : to store the account number
type : to store type of the account
bal : to store the balance amount in the account
Member functions:
initialise( ) : to assign the data members with any value.
depo(int a ) : where a is the amount to be deposited and the variable bal is to be updated.
withdraw( int a) : where a is the amount to be withdrawn after checking the balance (Minimum balance should be ` 1000) and the variable bal is to be updated.
display( ) : to print all the details.
Write the main method to create the object of the class and call the above methods.

Answers

Answered by advaitadvika999
8

Explanation:

A computer is a machine that can be programmed to carry out sequences of arithmetic or logical operations automatically. Modern computers can perform generic sets of operations known as programs. These programs enable computers to perform a wide range of tasks.

Answered by CopyThat
9

Program :-  {JAVA}

* Go through the attachment , answered by me , {tech issues, inappropriate words usage;)

Attachments:
Similar questions