Question: Please answer 1-5. It's C++ 1) Declare a new enumeration type named HvacStatus with three named values HVAC_OFF, AC_ON, FURNACE_ON, in that order. 2) Declare
Please answer 1-5. It's C++ 1) Declare a new enumeration type named HvacStatus with three named values HVAC_OFF, AC_ON, FURNACE_ON, in that order. 2) Declare a variable of the enumeration type HvacStatus named systemStatus. 3) Assign AC_ON to the variable systemStatus. 4) What is the integer value of systemstatus after the following? systemStatus = FURNACE_ON: 5) Given enum TvChannels {TC_CBS = 2, TC_NBC = 5, TC_ABC = 7};, what does cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
