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
1
Answer:
thlnls for pnts and l am a computer scientist
Similar questions
Math,
2 months ago
History,
2 months ago
Social Sciences,
2 months ago
English,
4 months ago
Social Sciences,
10 months ago
Math,
10 months ago