Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that calculates an after - school package for kids between 4 and 1 2 years - old. The program should have the

Write a program that calculates an after-school package for kids between 4 and 12 years-old. The program should have the following function:
one function to collect and return the child's name.
one function to collect and return the child's age. The age must be between 4 and 12, inclusive. Any other ages, the program will be terminated and return a message as:
Your child does not qualified of the program! Thank you!
One function asking the user to pick and schedule. The function prompts a message as: The function returns the picked schedule as 1 or 2
One function to calculate the after-school package price using the child's age and picked schedule as:
\table[[Age,\table[[Member fee],[(Weekly fee)]],\table[[Add snack],[(Weekly fee)]],\table[[Schedule 1],[3:30pm-5:30pm
image text in transcribed

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

Oracle Autonomous Database In Enterprise Architecture

Authors: Bal Mukund Sharma, Krishnakumar KM, Rashmi Panda

1st Edition

ISBN: 1801072248, 978-1801072243

More Books

Students also viewed these Databases questions

Question

List the advantages and disadvantages of the pay programs. page 505

Answered: 1 week ago