service { const html Arrange =

A Simple Date Arragement

Enter time for today:

Enter the business you need to handle:

; const html ShowDates1 =

Your arrangement for todoDate:(One thing)

<[apt0]> : <[todo0]>

Would you like to continue to arrange another business (yes or no)? ; const html ShowDates2 =

Your arrangement for todoDate:(Two things)

<[apt0]> : <[todo0]>

<[apt1]> : <[todo1]>

Would you like to continue to arrange another business (yes or no)? ; const html ShowDates3 =

Your arrangement for (FULL):

<[apt0]> : <[todo0]>

<[apt1]> : <[todo1]>

<[apt2]> : <[todo2]>

Today's arrangement is full.

Would you like to rearrange (yes or no)? ; const html ByeBye =

Thank you for using this arrangement book

; string apt0 , apt1,apt2; string todo0,todo1,todo2; session Calendar() { string sdate,smt; string continue; continue = "yes"; while (continue =="yes") { show Arrange receive [sdate = sdate, smt = smatter]; if (sdate!="" && smt!="") { if (apt0 == "") { apt0 = sdate; todo0 = smt; show plug ShowDates1[apt0 = apt0, todo0 = todo0] receive[continue = cont]; } else if (apt1 == "") { apt1 = sdate; todo1 = smt; show plug ShowDates2[apt0 = apt0, todo0 = todo0, apt1 = apt1, todo1 = todo1] receive[continue = cont]; } else if (apt2 == "") { apt2 = sdate; todo2 = smt; show plug ShowDates3[apt0 = apt0, todo0 = todo0, apt1 = apt1, todo1 = todo1, apt2 = apt2, todo2 = todo2] receive[continue = sreset]; if (continue == "yes") { apt0 = ""; apt1 = ""; apt2 = ""; } } } } exit ByeBye; } }