Fill-in-the-Blank and Short Answer
An enumerated data type and several variables have been defined like this:
enum Department {Purchasing, Manufacturing, Warehouse, Sales};
Department floor1, floor2;
int dNum = 2;
Indicate whether each of the following statements is valid or invalid. If it is invalid, tell what is wrong with it.
A) floor1 = Sales;
B) dNum = Sales;
C) dNum = floor1;
D) floor2 = dNum;
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.