structure Address with data members:
1. char* address
2. char* city
3. char* state
4. int zip_code
structure CustomerAccount with data members:
1. char* name
2. Address address
3. long long phoneNum
4. float balance
5. char* accountNum
arguments to all the global functions :
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)
2. int SearchCustomer (CustomerAccount* customers[], int accountsOpen, char*
accountNum)
3. bool UpdateCustomerAccount (CustomerAccount* customers[], int accountsOpen, char
*accountNumVal, Address addressVal)
4. bool UpdateCustomerAccount (CustomerAccount* customers[], int accountsOpen,
char *accountNumVal, long long phoneVal)
5. bool UpdateCustomerAccount (CustomerAccount* customers[], int accountsOpen, char
*accountNumVal, float balanceVal)
Comments
Leave a comment