A little assistance with arrays..

I am working through a program trying to get a better grasp on creating arrays.

How can I create an array that equals a day. For instance days[1]=Sunday.

The program asks for you to set each day to the days of the week, then every hour. You ask the programmer to enter the temperature for that day and time.

So would that be temp[i][j]? Any help is appreciated.
so you want an array of 7 values that each have a day?

char* weekDays[7]={"Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"};

is that what you're looking for?
Topic archived. No new replies allowed.