Originally posted by soulwinner:
IS there expert or programmer who can help me in ?
Dev C++.(A displayAccount()function thatdisplay the detail of the BankAccount.)
Qns:
Create a main() function that declares a BankAccount object.Prompts the users for BankAccount values.Then prompt the user to enter an interger for computing the interest.Display the detail of the BankAccount
thank in advance...
from this portion...it seems like it's not a complete question.
is the BankAccount class given to you? or are you writing it yourself?
i cant remember C++ much ...but a similiar java class declaration might be something like this
class BankAccount
{
String accountNumber;
String accountHolder;
String accountType;
double balance;
double interestrate;
public BankAccount()
{
etc....
}
void setInterestRate(double rate)
{
etc....
}
void PrintDetails()
{
etc.....
}
}