Optional Homework to Prepare:
and lets you get random amounts of rating points.
The program outputs the following:
Welcome to the AYCLOGIC cooking show! You start with 0 rating points.
What do you want to do?
1. Cook
2. Leave the game
Enter your selection: 1
You cooked a Chicken Spaghetti and got 10 rating points.
What do you want to do?
1. Cook
2. Leave the game
Enter your selection: 1
You cooked a Lasagna and got 15 rating points.
What do you want to do?
1. Cook
2. Leave the game
Enter your selection: 1
You cooked a Lasagna and got 0 rating points.
What do you want to do?
1. Cook
2. Leave the game
Enter your selection: 1
You cooked a Burger and got 20 rating points.
What do you want to do?
1. Cook
2. Leave the game
Enter your selection: 2
Thank you for playing with us.
You cooked the following:
Chicken Spaghetti
Lasagna
Burger
You ended the game with a total of 45 rating points.
If you have any questions, you can email me at ddjapri@ayclogic.com!!