Question: Create a flowchart and program for the Lucky Spin competition. Anyone can join in the competition and the winner will be determined based on the

Create a flowchart and program for the "Lucky Spin" competition.
Anyone can join in the competition and the winner will be determined based on the below criteria.

- Users will spin a wheel that has numbers from 1-50.
- A user is allowed to spin the wheel 5 times and total/sum up all the numbers that he spun.
- If the final total is even, then the user wins. If it's odd, then he/she loses.

Sample Output-1:

***Welcome to the Lucky Spin competition***

What's your name - Mike

Spin 1 result - 10
Spin 2 result - 25
Spin 3 result - 49
Spin 4 result - 11
Spin 5 result - 9

Mike, You win the competition.

Sample Output-2:

***Welcome to the Lucky Spin competition***

What's your name - Milka

Spin 1 result - 21
Spin 2 result - 36
Spin 3 result - 28
Spin 4 result - 12
Spin 5 result - 10

Milka You lose the competition.

Note - This is just an assumption for sample output.

Hint:

Use Random functions, loops, and if-else statements.

Submission Requirement:

Please need to submit your work in word format, and each question should provide the below requirements:

  • FlowChart
  • The code
  • The results in screenshots

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The Cprogram code for the above Lucky scompetition is ... View full answer

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 Business Writing Questions!