I'm new to C++ and need help with
Define the class bankAccount to implement the basic properties of a bank
account. An object of this class should store the following data: Account holder's name (string), account number (int), account type (string, checking/saving), balance (double), and interest rate (double). (Store interest rate as a decimal number.) Add appropriate member functions to manipulate an object. Use a static member in the class to automatically assign account numbers. Also, declare an array of 10 components of type bankAccount to process up to 10 customers and how to program to illustrate how to use your class.
Example output is shown below:
Recently Asked Questions
- I need help to write a C function that takes in an array of strings str and size (>0) as paramters, and returns the longest string and also the length of the
- i need help to write a C function that accepts a string s as its parameter. The string contains a sequence of words separated by spaces. The function then
- I need help to write a C function that locates the first occurrence of ch in the string str. The function returns the index, or -1 if ch does not occur in the