I cant figure out the following two questions: 1) If a program contains the decl
ID: 3685023 • Letter: I
Question
I cant figure out the following two questions:
1) If a program contains the declarations
enum Genders {MALE, FEMALE};
enum Instruments {TRUMPET, CLARINET, DRUM, VIOLIN, GUITAR};
int bandArray[2][5];
// To be indexed by values of type Genders and Instruments
then ____________________ (row or column) processing would be needed to total the number of females who are in the school band.
Fill in the blank....I have tried "two-dimensional array" and "semantic" and both were wrong
2) If a program contains the declarations
enum GarmentType {SOCKS, SLACKS, SHIRT, HAT, SWEATER};
enum StatusType {CLEAN, DIRTY, NEEDS_REPAIR};
int EddiesClothes[5][3];
// To be indexed by values of type GarmentType and StatusType
then ____________________ (row or column) processing would be needed to total the number of Eddie's garments that need repair.
Fill in the blank.
I cant figure out the following two questions:
1) If a program contains the declarations
enum Genders {MALE, FEMALE};
enum Instruments {TRUMPET, CLARINET, DRUM, VIOLIN, GUITAR};
int bandArray[2][5];
// To be indexed by values of type Genders and Instruments
then ____________________ (row or column) processing would be needed to total the number of females who are in the school band.
Fill in the blank....I have tried "two-dimensional array" and "semantic" and both were wrong
2) If a program contains the declarations
enum GarmentType {SOCKS, SLACKS, SHIRT, HAT, SWEATER};
enum StatusType {CLEAN, DIRTY, NEEDS_REPAIR};
int EddiesClothes[5][3];
// To be indexed by values of type GarmentType and StatusType
then ____________________ (row or column) processing would be needed to total the number of Eddie's garments that need repair.
Fill in the blank.
Explanation / Answer
1)row
2)column
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.