Computer Science, asked by yowhatsup61, 4 months ago

You need to desi a class: Calculator in which you will be calculating the kilometers travelled by user as given in the criteria below

Km is to be taken as a variable of type int ,this value you have to take it from the user using Scanner class and provide a result

kilometers travelled(km)

S I km

1 km s 6

6 < km s 12

12 < km s 18 >18 km

Rate/km

Rs 25

Rs 10

Rs 15

Rs 20

Rs 25​

Answers

Answered by jjpctech
1

Answer:

thlnls for pnts and l am a computer scientist

Similar questions