Question
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
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