Q. A passenger plans to travel n kilometer. she can choose between three types of transportation:
a. travel by train day/night:0.06 EUR/km. can be used for distance of minimum 100km.
b. travel by bus. day/night:0.09EUR/km.can be used for distance of minimum 20km.
c. Travel by taxi. starting fee:0.70 EUR. day rate :0.79EUR night rate: 0.90EUR/km.
Write an application named transportion that prompts from user the number of kilometers n and period of the day and calculate and display the price for the cheapest transport.

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Sales Offer

Coupon Code: SAVE25 to claim 25% special special discount