Answer to Question #316951 in C++ for nadim

Question #316951

structure Address following data members:

char* address

char* city

char* state

int zip_code

structure CustomerAccount following data members:

char* name

Address address

long long phoneNum

float balance

char* accountNum

following passed as arguments to global functions below

1. CustomerAccount *customers[100]

2. int accountsOpen

functions in global scope:

1. void OpenCustomerAccount (CustomerAccount* customers[], int& accountsOpen,

char* NameVal, char*addVal, char*cityVal, char*stateVal, int zipcodeVal, long long

phoneVal, float balanceVal) – a function to create a new customer account and assign it

an account number that has not already been taken between PK001 and PK100.

To dynamically create a new customer account, use an element in the customers array (a

pointer) with the new keyword.

2. int SearchCustomer (CustomerAccount* customers[], int accountsOpen, char*

accountNum) – If the

customer is found it returns the array index otherwise return -1



0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog