Skip to content
#

sdev

Here are 29 public repositories matching this topic...

Testing Random Numbers Project SDEV 1060 Project. A senior developer is working on a project and has asked you to do some testing for him. One of the methods in his project creates a random number between supplied minimum and maximum values. He has written the method that will create that random number, run it a few times, and thinks it looks go…

  • Updated Aug 10, 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

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

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

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