CREATE A PROGRAM FOR PASSENGER FARE. THE SYSTEM MUST ASK THE USER TO ENTER AGE OF PASSENGER. IF AGE IS BELOW 12YEARS OLD, THERE IS A 10% DISCOUNT, ELSE 5% DISCOUNT. THE USER WILL NOW ENTER THE DESTINATION CODE TO COMPUTE THE FARE.
CODE FARE
CHINA 2500
JAPAN 3000
THE SYSTEM WILL DISPLAY THE AGE, DISCOUNT AND DISCOUNTED FARE..
GUYS PLEASE HELP, I NEED THE PROGRAM FOR THIS, AND THE ALGORITHM.
I HOPE U CAN HELP ME WITH THIS.. THANKS.. THANKS THANKS..
We don't do your homework for you. You must try and solve it yourself. If you get stuck on a section of your code then post it here, explain what the problem is and someone might be able to help you. But first you must make an attempt to solve it yourself.
ouch.. that's sad to hear, ok,, but even though i cannot really do it, can you still help me with this "ajh32" .. :( i'm still a first year college student, i am really a newbie in programming.
not that really sir, im sorry, but i am not really that expert in programming, all i know is just the basics, like: structure of a program, the one you display your name.. and variables and data types, and constants.. its all the basics sir. that's all i know.. :(