Course Solutions Uncategorized (Solved) : Modify Program Automatically Generate Bank Account Numbers Using Static Member Class Could Q30456026 . . . .

(Solved) : Modify Program Automatically Generate Bank Account Numbers Using Static Member Class Could Q30456026 . . . .

 

//How can I modify my program to automatically generate bankaccount numbers using a static member in the class and it couldmatch the index number as well.

#include<iostream>

#include<iomanip>

#include<string>

using namespace std;

class bankAccount {

public:

bankAccount();

void getData();

int bankAccount_number();

void deposit();

void withdraw();

void printData();

private:

string name;

int bankNumber;

int accountNumber;

string type;

double balance;

double interestRate; };

const int Num = 2;

static int accountNumbers = 0;

int main() {

bankAccount customer[Num];

int choice, choice_1, index = 0;

  

do {

cout << ” MENUnn” ;

cout << ” Enter 1 to assign the new customer” <<endl;

cout << ” Enter 2 to assign existing customer” <<endl;

cout << ” Enter 3 to assing print customer data” <<endl;

cout << ” Enter 9 to EXIT” << endl;

cout

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post