Cruise Recreational Activities Example Recreational activities include things like aerobics, shuffle board, and swimming. Each activity is identified by an activity code and includes other information such as description. Classes are offered for each activity. A class is uniquely identified by a combination of the activity code and the day/time at which it is held. It is assumed that a specific class will never be offered for the same activity at the same day and time, although it could be offered on a different day and/or time. Other information about a class includes the enrollment limit and the current enrollment count. A class will never include more than one activity. A passenger can sign up for a class as long as there is sufficient room in the class. Passengers are identified by a unique passenger number. Other information stored about passengers includes name, address, and age. Passengers have no limit on the number and type of classes they can sign up for. When they do sign up for a class, they are asked their experience level, which is used to help set the degree of difficulty for the class. A passenger may have different experience levels depending on the activity being offered for the class.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter2: Problem Solving Using C++using
Section2.1: Introduction To C++
Problem 13E: (Practice) You’re responsible for planning and arranging the family camping trip this summer. List a...
icon
Related questions
Question
100%

Cruise Recreational Activities Example

Recreational activities include things like aerobics, shuffle board, and swimming.  Each activity is identified by an activity code and includes other information such as description.  Classes are offered for each activity.  A class is uniquely identified by a combination of the activity code and the day/time at which it is held.  It is assumed that a specific class will never be offered for the same activity at the same day and time, although it could be offered on a different day and/or time.  Other information about a class includes the enrollment limit and the current enrollment count.  A class will never include more than one activity.  A passenger can sign up for a class as long as there is sufficient room in the class.  Passengers are identified by a unique passenger number.  Other information stored about passengers includes name, address, and age.  Passengers have no limit on the number and type of classes they can sign up for.  When they do sign up for a class, they are asked their experience level, which is used to help set the degree of difficulty for the class.  A passenger may have different experience levels depending on the activity being offered for the class. 

Expert Solution
Step 1

Given

The answer is given below.

 

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr