appointment

I have to code a menu based program using functions and parallel arrays to keep track of weekly appointments from monday to friday. The user should be able to add/change or cancel an appointment.

So i have 5 arrays, one for each day of the week where every index represents an hour but i'm having trouble to figure out how i can store the inputs to the right array (day) and index (time), also i'm not sure how i'm going to get it to store two inputs (name and type of treatment) into the same array and index.

if anyone could help me figure this out it would be appreciated.
how about using a class/structure?
You can create a class or struct with 2 strings, and make that the array type.
Topic archived. No new replies allowed.