Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create a class that represents the Wheel from the wheel of fortune. The wheel ha

ID: 3567387 • Letter: C

Question

  1. Create a class that represents the Wheel from the wheel of fortune. The wheel has an array of size 20 with integer amounts. The amounts range from 100 to 25000. The class also has an integer variable called marker. The marker symbolizes the index where the wheel is stopped. Add a default constructor that randomly assigns values to the array of amounts within the range specified. Also set the marker to 0. In addition add:
    1. Accessor and mutator functions for the marker variable
    2. spin() function

Explanation / Answer

// Wheel of Fortune #include #include #include #include using namespace std; struct Player { string name; int money; }; int main(){ //PLAYER INFORMATION AND WELCOME Player one; one.money = 0; cout > one.name; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote