Question: Lab 83: Using Multidimensional Arrays In this you will complete a C++ program that uses a array to store data for the Building Block Care

 Lab 83: Using Multidimensional Arrays In this you will complete a
C++ program that uses a array to store data for the Building

Lab 83: Using Multidimensional Arrays In this you will complete a C++ program that uses a array to store data for the Building Block Care Center. The program described in Chapter 8, Exercise 10. in and Design. day care center charges weekly rates weekly on the age of the child and the number of days per week the child attends. The rates are shown in Table 8-2. Days Per Week Age in Years 30.00 60.00 88.00 115.00 140.00 26.00 52.00 70.00 96.00 120.00 24.00 46.00 67.00 110.00 22.00 40.00 60.00 75.00 88.00 4 or more 20.00 35.00 50.00 66.00 84.00 Weekly rates for Lab 83 Table 8-2 The program should allow the user to enter the age of the child and the number per week the child will be at the day care center. The program should output the appropriate weekly rate. The file provided for this lab contains all of the necessary variable declarations, except the two-dimensional array. You need to write the input statements and the code that initializes the two-dimensional array, determines the weekly rate, and prints the weekly rate. Comments in the code tell you where to write your statements. l. Open the source code file named Daycare.cpp using Notepad or the text editor of your choice. 2 Declare and initialize the two-dimensional array. 3 Write the c++ statements that retrieve the age of the child and the number of days the child will be at the day care center. Determine and print the weekly rate. that directory Save this source code file in a directory of your choice, and then make your working directory. Compile the source code file Daycare.cpp. Execute the program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!