Question: Program needs to be in C An airline hires you to develop a program for their bag check-in process. This program will estimate an extra

Program needs to be in C

An airline hires you to develop a program for their bag check-in process. This program will estimate an extra fee for a passenger to load their bags. Fee is calculated based on the following rules

- Maximum 2 bags are allowed per passenger

- Maximum weight for each bag is 50 lbs.

- Additional bag that its weight is less than 50 lb., will be charged $120/bag

- Overweight bag will be charged $10/lb on every additional weight. For example, if a bag's weight is 65 lbs, this bag will be charged $150; (65-50) *10

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!