I am creating a random chore generator. There are two seperate lists of chores, 1 for weekdays and 1 for weekends. I am using a random number generator to determine which chore each person gets but don't want to write an if statement for each chore. How can I put the list of chores into an array so that after the number is generated it will telll the person what they need to do that day? This is what I have so far:
//This program is for helping the kids
//pick a chore daily. It will allways list
//homework as a chore and it will include
//one other random chore.
#include <iostream>
#include <iomanip>
#include <ctime>
#include <cstdlib> // For srand() and rand()