You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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…
What is the store’s average days for a customer to pay based on the return date of the film and the payment date. What is the customer’s average? Show a list of customer names, store id, customer’s average day to pay, and store’s average day to pay. Filter the results by customers that have an average days out greater than the stores average. Or…
SDEV 1060 Project. The calculator will get 2 integer inputs from the user, then calculate the result of addition, subtraction, multiplication, and division. You don't need to write the code to create that part of the project -- you will be testing the methods that perform the calculations, not the user interface. Write a method for each of the 4…
When asking a user for a time, you might get several different formats of input – just the hour, the hour and minutes, the hour and minutes and seconds, an indication of “am” vs “pm”. In this project, the Time class will have overloaded constructors, one for each of those possible types of input, and most of the constructors will call the primar…
SDEV 1060 Project. In this project, you will create the methods for calculation, and the test methods, using runners for each test method. You can use the same data for all tests; all the tests can go in the same test file. The project uses 4 input numbers, which are doubles between the ranges of -100 and 100, not inclusive (so -100 and 100 are …
This project is very similar in design to the Mouse2 class and Mouse2Driver example in the book (Introduction to Programming with Java: A Problem Solving Approach, Second Edition by John Dean and Raymond Dean). Remember the project in Ch 4 about calculating the value of an account as it grows, which was enhanced in Ch 5 to look better? We’ll do …
4-function calculator and non-automated unit tests. The calculator gets 2 integer inputs from the user, then calculate the result of addition, subtraction, multiplication, and division. method for each of the 4 operations -- addition, subtraction, multiplication, division
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,…
The final project is a program that simulates a carnival, and lets the user make a journey through that carnival, playing games and gathering prizes, eating carnival food, taking rides. Final Project Carnival In this project, you will simulate a carnival and one customer’s journey through that carnival. Imagine a carnival with an entrance booth.…
Create a project that asks the user for a minimum integer, then a maximum integer, then a value between those two numbers. The program needs to validate that the second number is greater than the first number, and it also needs to validate that the third number is between the first two numbers. Use 3 While loops, which will repeat over and over …
In Competency Exercises, you demonstrate your skill and ability to use the programming principles you've learned in the current and previous modules. You must complete this assignment by yourself, much like a module exam. You can ask instructors for clarification about the project -- you can not ask instructors or other students for help with lo…
Create a project that instantiates an ArrayList of Strings. Follow the directions below for adding and removing data from the ArrayList, then print out the results. You do not need to ask the user for any of this data, type it directly into the code of the main class. Be sure to print out the usual header first, "Chapter 10 Array Lists by Studen…
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,…