Reference no: EM132196920
Write C++ statements that do the following:
a. Define an enum type, awesomeMovies, with the values
GUARDIANS, ALIENS, BUCKAROO BONZAI, BLADE RUNNER, INCREDIBLES, and STAR TREK.
b. Declare a variable weekendMovie of the type awesomeMovies.
c. Assign GUARDIANS to the variable weekendMovie.
d. Advance weekendMovie to the next value in the list.
e. Output, using cout, the value of the variable weekendMovie, so that the user sees the name the movie ("Aliens" instead of 1). You may use other structures in combination with cout to do indirect output.
f. Input, using cin, a value to the variable weekendMovie. You may use other structures to do indirect input.