2210
Here are 3 public repositories matching this topic...
SDEV 2210 Project. Create a project that calculates miles per gallon for a given trip, and accumulates the miles and gallons to calculate an overall MPG for the vehicle. Create a class named MPG that includes private instance variables for miles, gallons, and mpg, which are doubles. Add class variables for totalMiles, totalGallons, and totalMPG,…
-
Updated
Jul 6, 2022 - Java
Create a project that calculates miles per gallon for a given trip, and accumulates the miles and gallons to calculate an overall MPG for the vehicle. Create a class named MPG that includes private instance variables for miles, gallons, and mpg, which are doubles. Add class variables for totalMiles, totalGallons, and totalMPG, which are doubles,…
-
Updated
Jul 6, 2022 - Java
Improve this page
Add a description, image, and links to the 2210 topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the 2210 topic, visit your repo's landing page and select "manage topics."