Write the line of code defining a type color that associates the colors red, blue and green with the integers 0, 1 and 2.

What will be an ideal response?


enum color {red, blue, green};

Computer Science & Information Technology

You might also like to view...

The ____ function determines the lowest number in a range.

A. MAX B. AVERAGE C. SUM D. MIN

Computer Science & Information Technology

Information keyed in a table can be sorted by date.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A ________ uses an aggregate function for data that can be grouped by two types of information and displays data in a compact, spreadsheet-like format.

a. crosstab query b. select query c. simple select query d. subquery

Computer Science & Information Technology

Project managers can reduce resistance to change by involving employees in the project plan. In the systems development parts of a project, this is referred to as __________.

A. DMZ B. SDLC C. WBS D. JAD

Computer Science & Information Technology