Question
Java programming * Develop a program that demonstrates the classic race between the hare and the tortoise. * Using an array list to contain the
Java programming
* Develop a program that demonstrates the classic race between the hare and the tortoise.
* Using an array list to contain the
* input of how long the race should be.
* Have the user input how long or how many spaces the race will be.
* Create a separate class that includes a random number generator that goes from 1-4,
* where each number has an obstacle or an improvement to accelerate the racer.
* Use a recursive formula to have the racer go forward until they reach the finish line,
* Lastly use the file output stream to print the the history track of the race.
*
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started