1. // structure for guests ------//
struct {
char email: // e-mail address to send invite to
char guests: // guests name
int number: // guests number, so can just reference to this to find the guest
}
2. // invitation------//
/*Input; name of guests, e-mail address, Reference number;*/
/*Output; The invite to be sent */
/*Comment; make invites using printf and scanf. Asking whether they are going to come (to meal or disco or both) and asking about their dietary requirements. */
3. // send invites------//
/*Inputs: structure for guests, invitation letter */
/*Output: send invites to all guests, confirm guests have received there invites*/
/*Comment: using structures and loops send invite to all guests, if a guest has not received the invite or has not replied within certain time, send the invites again.*/
4. // Manage replies------//
/*Input: structure for guests, reply. */
/*Output: sorting reply invitation structure and dietary requirements structure. */
/*Comment: sort replies using loops. */
5. // Structure replies------//
Struct{
Int reply // reply 1 for going, 0 for not going.
Int meal // going to meal 1 for going, 0 for not going.
Int disco // going to disco 1 for going, 0 for not going.
Int people // number of people coming with them.
Int number // pointer to unique number in the structure
// (guest).
}
6. // Structure dietary------//
Struct{
Int number // pointer to unique number in the structure
// (guest).
Int vegetarian // 0 for not, 1 for vegetarian.
Int kosher // 0 for not, 1 for kosher.
Int halal // 0 for not, 1 for halal.
Int no lactose // 0 for not, 1 for lactose intolerant.
Int no gluten // 0 for not, 1 for glucose intolerant.
Int no nuts // 0 for not, 1 for nut intolerant.
}
7. // Sort out yes------//
/*Input: reference number, reply, name of guest.*/
/*Output: a structure attendance . */
/*Comment: sorts out who is going to the meal and/or the disco. sort out yes with bubblesort. Delete no using if else.*/
8 // Structure attendance------//
Struct{
Int number // pointer to unique number in the structure
// (guest).
Int disco // 0 for not going to disco, 1 for going
Int meal // 0 for not going to meal, 1 for going
}
9. // print guest list------//
/*Input: structure for guests, structure for replies, structure diet */
/*Output: print out list including if only going to meal/disco. For people going to meal, print out dietary requirements. */
/*Comment: print out list by creating a document of who is going and their information.*/
10. // send details------//
/*Input: Structure for guests, structure attendance*/
/*Output: Send any further details of event to who is going and ask for song requests if going to disco. */
/*Comment: send detail using loop to sort out yes. */
11. // Structure secondary_replies------//
Struct{
Char song // name of song requested.
Char Artist // artist of song requested.
Int number // pointer to structure (guest).
}
12. // manage song requests------//
/*Input: structure for guests, structure secondary_replies*/
/*Output: print song requests to screen. */
/*Comment: Delete any duplicate requests, sort out song requests into alphabetical order by artist. */
13. // send reminder------//
/*Inputs: guest list, email, int dayofevent */
/*Outputs: send reminder to guests a day before party/*
/*Comment: Using loops send reminder to guests. Program needs to look at the date to know when to send reminder (one day before party) /*