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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!