Answered step by step
Verified Expert Solution
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 afterschool package for kids between and yearsold. 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 and 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 or
One function to calculate the afterschool package price using the child's age and picked schedule as:
tableAgetableMember feeWeekly feetableAdd snackWeekly feetableSchedule ::
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started