- Ram Trying To Figure Out If He Should Drive The Car Or Take The Bus To Work Ram Aware Of The One Way Distance Between H 1 (30.25 KiB) Viewed 29 times
Ram trying to figure out if he should drive the car or take the bus to work. Ram aware of the one-way distance between h
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Ram trying to figure out if he should drive the car or take the bus to work. Ram aware of the one-way distance between h
Ram trying to figure out if he should drive the car or take the bus to work. Ram aware of the one-way distance between his home and to the workplace, as well as his vehicle's (car) fuel efficiency (in miles per gallon). Ram also know how much a bus ticket costs one way. Ram assumes a $10 per gallon gas price and a 12 cents per mile car maintenance expense. Write a Java Program to decide which commute is cheaper for travelling of Ram.