Find Jobs
Hire Freelancers

Car Racing Program

$10-30 USD

In Progress
Posted about 6 years ago

$10-30 USD

Paid on delivery
Problem to Solve Create a class called “CarRacing”, which contains your main driver method, to simulate car racing as described below.. 1. Create an Array object called “cars” to store and manage a number of Car objects. 2. Car class consists of the Strings make, model and serialNumber; and the integers year and score. 3. Write the appropriate program segments to carry out the following operations: 1. Run a race Given the number of cars and duration of the competition, run a race. After the competition, display the cars in descending (i.e., highest to lowest) order of their scores. Before running the race, you must create a correct number of car objects as described below. (Make sure to use constant identifiers to represent each of the literals such as minimum and maximum car years.) a. The make of a car is composed of the text “Make” followed by 2 digits representing the car’s respective order of creation, starting from 0. For example, the make of the first car is “Make00” and the make of the 3rd car is “Make02”. b. The model of a car is composed of the text “Model” followed by 2 digits representing the car’s respective order of creation, starting from 0. For example, the model of the first car is “Model00” and the model of the 3rd car is “Model02”. X Car Racing Description Version: Refer to the version in the file name Last printed 4/17/2018 7:06 PM Page 2 of 6 Filename: Car Racing [login to view URL] c. The year of a car will be a random number, inclusively, between 1970 and 2018. d. The serialNumber of a car is composed of the text “Sn” followed by 4 digits. The last 4 digits will be a random number, inclusively, between 1000 and 2000. e. The score of a car will be computed during the race. In each minute of the race, the car travels some number of miles, which will be added to the score. The number of miles a minute will be a random number, inclusively, between 1 and 4. f. Use 1000 as the seed for the random number generator. 2. Update a score Given a car’s serial number, change the score of the respective car. 3. Display all the cars Display all the cars. 4. The result of your program must match the given sample input and output. Make sure you test your program thoroughly, since I will execute your program on a different set of test data. Use a package called “CarRacingPackage” to include the CarRacing and Car classes. Please contact me for more specific instrustions
Project ID: 16843594

About the project

5 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $60 USD for this job
User Avatar
I am a full time developer and have high skills in java, javafx, java swing and junit testing so I can complete this project. My price and time is negotiable. Let's discuss details via chat. I'll provide best service.
$100 USD in 1 day
4.9 (314 reviews)
7.9
7.9
User Avatar
Hi there, lots of experience teaching algorithms and OOP with multiple programming languages (including Java). Let me know any further details about this car task to see if I can help. Cheers!
$35 USD in 1 day
5.0 (44 reviews)
5.5
5.5
User Avatar
Hi I am interested working on your project to create Car racing program, please send me the details. looking forward to work together with you Regards, Gusti
$25 USD in 1 day
5.0 (14 reviews)
4.6
4.6
User Avatar
Greetings ! Myself Vishal Gajera. I have 5 yr. exp. in java technology. Also, I am "oracle certified professional java programmer" since 2014. I have good hands on grip over java technology(upto java-8) as backend programming. Moreover, I have an experience to support front-end technology like, HTML, CSS, JQuery, Angular, Bootstrap, Javascript. I have been working with spring framework since 2013. Right now I have been getting my hand dirty with other areas of spring framework since 2015. i.e. Spring boot, Spring cloud, Spring Data JPA, Spring security, Spring Quartz for scheduler. Along with this in order to maintain code-quality/analyzer-tools; I am using checkstyle, PMD, findbugs, sonarqube. I am following TDD (test driven development) which emphasis on setting up the test data for a piece of code which can be tested first and then can be implemented . Also, I have an experience of process framework. i.e. Agile methodology - Scrum framework through JIRA software for reports, plan, track, and manage all agile software development projects from it. I believe, communication is key to fulfilled an expectations. Let's decide our road map for that please schedule an interview to share our ideas. Best regards, Vishal Gajera
$111 USD in 2 days
5.0 (2 reviews)
0.4
0.4

About the client

Flag of UNITED STATES
alpharetta, United States
5.0
1
Member since May 1, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.