Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

Students also viewed these Databases questions

Question

How to reverse a Armstrong number by using double linked list ?

Answered: 1 week ago