COMP 155: Computer Programming Visual Basic

Brief:

In this individual project, you are going to design a small Java program simulating the consumption of gas mileage of an automobile during road trips under various scenarios;

7 Factors you must include in your program:

  1. User options for a nation and a city (i.e., New York City street has different overall road conditions from Beijing in China).
  2. User options for the types of cars and manufacturers (4-door passenger, SUV, 2-door sports car, etc.). Minimum 3 different cars.
  3. COMP 155: Computer Programming Visual Basic
  4. User options for different road conditions (flat street, bumpy, mud, forest, construction site, etc.)
  5. User options for the weather (sunny, rainy, snow, etc.)
  6. User options for a number of passengers
  7. No user input necessary. Simply generate a random number of traffic lights and stop signs during driving.
  8. Come up with your own factor affecting a gas mileage

    ORDER A PLAGIARISM-FREE PAPER HERE

Note: You must define separate Java classes (one java file showing main( ), and another Java files showing the class design with constructors; e.g., Car.java) along with multiple separate functions to incorporate these factors affecting total gas consumption calculation.

Here is one sample scenario:

  1. User inputs to define the maximum distance to travel and options from 7 factors.
  2. A random number of traffic lights and Stop signs (minimum 4)
  3. On each traffic intersection, a random color signal will be displayed (among red, yellow, or green) across all traffic light locations.
  4. Define a rule of gas mileage consumption (MPG) when a car confronting a different situation of a traffic light based on three different color signals. if the Green light, pass. No extra gas wasted.
  5. COMP 155: Computer Programming Visual Basic
  1. Incorporate more variables (from previous slides up to 7) to build a realistic simulation of gas mileage(i.e., road condition, number of passengers, etc.).
  2. Your output summary should display the following (including 7 factors):
  1. You must define separate Java classes (one java file showing main( ), and another Java files showing the class design with constructors; e.g., Car.java) along with multiple separate functions to incorporate these factors affecting total gas consumption calculation. COMP 155: Computer Programming Visual Basic