public static void Main()
int month_accum[MONTH_MAX] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
double[] totalPrice = {0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00};
double[ , ]AGE_DAYS_RATE = {
{30.00, 60.00, 88.00, 115.00, 10.00},
{26.00, 52.00, 70.00, 96.00, 120.00},
{24.00, 46.00, 67.00, 89.00, 110.00},
{22.00, 40.00, 60.00, 75.00, 88.00},
{20.00, 35.00, 50.00, 66.00, 84.00}
int AGE_GROUPS[SIZE] = 0, 1, 2, 3, 4;
string[] month = {"Jan" , "Feb" , "March" , "April" , "May" , "June" , "July" , "Aug" , "Sept" , "Oct" , "Nov" , "Dec"};
Console.WriteLine("Please enter name:");
name = Console.ReadLine();
Console.WriteLine("Please enter the number of days the child will need daycare:");
daysPeWeek = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Please enter the child's start month:");
startMonth = Convert.ToInt32(Console.Readline()):
childPrice = DAYS_PER_WEEK[age, daysPerWeek - 1];
monthAccumStart[startMonth - 1] = monthAccumStart[startMonth - 1] + 1;
Console.WriteLine.(name + " will start in the month of " + month[startMonth - 1] + " and weekly daycare costs will be " + childPrice);
Console.WriteLine("To enter another child, please enter the age or enter -999 to exit");
age = Convert.ToInt32(Console.ReadLine());
public static void conclude(int[] arr, string[] months, double[] childTotal)
for(x = 0; x < arr.length; x++)
Console.WriteLine("For month " + months[x] + " childs starting equals " + arr[x] + " and you will make a total of" + childTotal[x].ToString("c") + " each month.");");
Console.WriteLine("Thank you for using this program.");
public static int (houseKeeping)
Console.WriteLine("Welcome to Children around the World Daycare");
Console.WriteLine("This application");