Suppose that the enum flowerType is as defined in Exercise 2. Write a C++ function that can be used to output the value of a variable of type flowerType.
Exercise 2 definition:
enum flowerType { ROSE, DAISY, CARNATION, FREESIA, GARDENIA, ALLIUM, TULIP, IRIS, SUNFLOWER, LILAC, and ORCHID};