char optionPackageCodeArray [5] = {'BB','SP','NP','HE','UC'};
double packageCostArray [5] = {1500,3250,4575,7500,5220};
string packageNameArray [5] = {"Base","Sport","Intermediate level","Luxury","User Specified"};
Printable View
char optionPackageCodeArray [5] = {'BB','SP','NP','HE','UC'};
double packageCostArray [5] = {1500,3250,4575,7500,5220};
string packageNameArray [5] = {"Base","Sport","Intermediate level","Luxury","User Specified"};
Lots of things. Assuming you're talking about the compilation errors,
A char can hold one and only one character. You're trying to stick two in there.Code:char optionPackageCodeArray [5] = {'BB','SP','NP','HE','UC'};
There are other errors after that, but start there.
Thanks for the insight. Let me check it out again.