Computer Science, asked by trisha5247, 4 months ago


Write a program in Java to compute the railway fare depending on the criteria as given below:


Age(in years)

i.below 10
ii. between 10 and 60
iii. above 60



Distance(in Kms)
I).below 10
between 10 and 50
above 50
ii).below 10
between 10 and 50
above 50
iii).below 10
between 10 and 50
above 50




Fare(in Rupees)


i). Rs. 5

Rs. 20

Rs. 50



ii). Rs. 10

Rs. 40

Rs. 80


iii). Rs.4
Rs 15
Rs.35


I will mark brainliest if right answer is given by you.

pls don't spam otherwise I will report.
Those who will tell correct answer I will give 10-20 thanks
❣️❣️❣️❣️❣️❣️❣️❣️❣️❣️

Answers

Answered by coolraj18110
0

if I was so genius I could have but I recommend you to go to github,really git hub will help you


trisha5247: hi
trisha5247: but where is github
trisha5247: please tell me
coolraj18110: it is a famous website,where you can discuss,create programs,just search git hub,and make id and go tuere,here only you will get spam messages...
trisha5247: ok bro
trisha5247: thank you very much
trisha5247: ♥️♥️♥️♥️♥️
coolraj18110: welcome, just mark me as brainliest
coolraj18110: kyuki mai toh abhi 9th mai hun,bas bata diya,aap 5 star,aur rate kr dena
Answered by Anonymous
2

>=20,000

53

12

8

>=10,000-<20,000

45

15

8

<10,000

50

10

7

Similar questions