1
votes

Create a Python program (using any of the selection structures) that will accept distance in kilometer/s as input, and student or elderly passengers will pay the discounted rate, disabled passengers will get an additional 10% discount with the original discounted rate, otherwise the regular fare will be used as basis for the computation of fare. The output will be the total fare for the passenger.

Start price for : regular passenger - 9.00 Student/ Elderly/ Disabled- 6.20

Sample output: Enter Distance in Kilometer/s: 12 Regular/ Student/ Elderly/ Disabled: Disabled

Total Fare: 14.175

Please read these guidelines for asking homework questions, particularly the section about making a good faith effort to solve the problem yourself.BrokenBenchmark
please follow these homework guidelines: meta.stackoverflow.com/questions/334822/…Ryan
Stack Overflow isn't a place where you should be looking for help cheating on your homework. C'mon, programming is fun. Learn what you need to learn to do the work yourself. Don't have someone do all the work for you. At the very least, take a first shot at it and show us what you come up with.CryptoFool