Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Baggage fee to be paid by the passenger on board according to the weight of the cargo and the day of sale; It is calculated

Baggage fee to be paid by the passenger on board according to the weight of the cargo and the day of sale; It is calculated by the following rules: If the Baggage Load is greater than or equal to a kilogram: the fee is 65% of the 5 plus half of the baggage load, otherwise; If: baggage load is greater than (b-2) and less than (a-20): fee = load * 1.50, otherwise; charge = load * 0.15 If the sales day is Monday: day = 1 is entered and a special deduction (discount) is made up to 5%.

the value of a = the number of letters in your name x 10; "Enter on the keyboard!" (Your used name). Value b = the number of letters in your last name x 10; "Enter on the keyboard!" Example: If your name and surname is pek Baak, the a value is 4x10 = 40, the value of b is 5x10 = 50

Please do with C programming AND BE QUCK!!

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago