URGENT!!! Question: Create a flowchart and program for the "Lucky Spin" competition. Anyone can join in the competiti
Posted: Fri Jul 08, 2022 6:36 am
URGENT!!!Question:
Create a flowchart and program for the "Lucky Spin"competition. Anyone can join in the competition and the winner will bedetermined based on the below criteria.
- Users will spin a wheel which has numbers from 1-50.- A user is allowed to spin the wheel 5 times and total/sum up allthe numbers that he spinned. - If the final total is even, then the user wins. If it's odd, thenhe/she loses.
Sample Output-1:
***Welcome to Lucky Spin competition***
What's your name - Mike
Spin 1 result - 10Spin 2 result - 25Spin 3 result - 49Spin 4 result - 11Spin 5 result - 9
Mike You win the competition.
Sample Output-2:
***Welcome to Lucky Spin competition***
What's your name - Milka
Spin 1 result - 21Spin 2 result - 36Spin 3 result - 28Spin 4 result - 12Spin 5 result - 10
Milka You lose the competition.
Note - This is just an assumption for sampleoutput.
Hint:
Use Random funtions, loops and if-else statements.
Submission Requirement:
Please you need to submit your work in word format, and each question should provide the below requirements:
Create a flowchart and program for the "Lucky Spin"competition. Anyone can join in the competition and the winner will bedetermined based on the below criteria.
- Users will spin a wheel which has numbers from 1-50.- A user is allowed to spin the wheel 5 times and total/sum up allthe numbers that he spinned. - If the final total is even, then the user wins. If it's odd, thenhe/she loses.
Sample Output-1:
***Welcome to Lucky Spin competition***
What's your name - Mike
Spin 1 result - 10Spin 2 result - 25Spin 3 result - 49Spin 4 result - 11Spin 5 result - 9
Mike You win the competition.
Sample Output-2:
***Welcome to Lucky Spin competition***
What's your name - Milka
Spin 1 result - 21Spin 2 result - 36Spin 3 result - 28Spin 4 result - 12Spin 5 result - 10
Milka You lose the competition.
Note - This is just an assumption for sampleoutput.
Hint:
Use Random funtions, loops and if-else statements.
Submission Requirement:
Please you need to submit your work in word format, and each question should provide the below requirements: