Fabien Lim's Seats#116
Open
fabienlimzk wants to merge 7 commits into
Open
Conversation
second half + 5% last = $91000
…, if input not equal to yes then try again
The airline upgraded it's fleet of aircraft. Each plane has 3 cabins, economy, business and first class. The user can now type in "buy first class" and the kiosk will sell them a first class seat, same for the other cabins. A plane now has 15 economy seats, 6 business class seats and 4 first class seats. The pricing models have also changed: For economy pricing is the same. For the first half of the seats, the price goes up 3%. For the second half it goes up by 5%. The last seat is $91,000. For business class: For the first half of the seats, the price goes up 6%. For the second half it goes up by 10%. The last seat is $91,000. For first class: All seats goes up by 15% over the original price of $50. The last seat is $191,000.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deliverable Submission
Please describe your comfort and completeness levels before submitting.
Comfort Level (1-5):
4
Completeness Level (1-5):
4
What did you think of this deliverable?:
quite okay but i do not how to do the last part
How many hours did you spend on this assignment?
4/5 hours?
What part did you spend the most time on?
The third last further
Does the assignment run without errors? If the assignment has errors, what are they?
no errors
Describe one part of the code or choose one line you would improve upon. What would you improve?
to be able include dropdownlist
What did you think of this deliverable? Any other comments?
i think its okay, but do not know if i have push the correct file because i restore the latest commit due to errors and edited from there