[go: up one dir, main page]

Skip to content
#

sdev

Here are 29 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

SDEV 2210 Project. This project simulates the inventory for a fleet of cars. The fleet is an array of Car objects. A Car has a name and an ArrayList of Miles Per Gallon (MPG) objects. An MPG object has variables for miles, gallons, and miles per gallon, which is calculated in the constructor. The driver class will instantiate 3 Car objects and s…

  • Updated Jul 6, 2022
  • Java

Improve this page

Add a description, image, and links to the sdev topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sdev topic, visit your repo's landing page and select "manage topics."

Learn more