Question: This is a java program. Create a polymorphic math game that prints out sequences of a numbers using a recursive function and asks the user
This is a java program.
Create a polymorphic math game that prints out sequences of a numbers using a recursive function and asks the user to indicate what the next number is in the sequence. Once a user chooses a function, you should tell the user if they are correct or not. To check if the user is correct, you are to use recursion to find the next number in the sequence.
What is the next number in this sequence? 8, 16, 24, 32, 40, 48,
8
16
56
64
You are to create different classes for each sequence and then put an instance of that class into an array or ArrayList. Then, when the game is played, you should randomly pick from the list and display the sequence and potential answers.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
