Days of the week array?

Declare an array of floating point elements called week that can be referenced by using any day of the week as a subscript assume sunday is the first.
I tried getting help on this a while ago, and I was told to make an enumerator. As it turns out I am not aloud to use enum and have to actually make an array. What is the simplest way to make this type of array? My c++ textbook has been of no help thus far and I was hoping you guys could provide some help. Thanks.
nm
Last edited on
Declare an array of floating point elements called week that can be referenced by using any day of the week as a subscript assume sunday is the first.
This does not make sense and is not possible.
game fan83 what was your original answer? How do I do this? there must be a way?
Array indices are strictly unsigned integers. Thus, they cannot "be referenced by using any day of the week as a subscript".
Topic archived. No new replies allowed.