Test 3 CSC201
Test 3 CSC201
Test 3 CSC201
Use enum to create a list of constants containing the following names: bad, good, better, best. we
want basd to have a value of zero and best to have a value of 3. We also want to two additional
words in the list: firstr, and last. fist should have the same value as bad and last should have the
same value as best.
Your Answer:
enum QualityType { first, bad=0, good, better, best, last=3 };
___________________________________
===