Question: make a c + + code Consider 3 slot machine wheels which have the digits 0 - 9 marked on them. Each wheel spins and

make a c++ code
Consider 3 slot machine wheels which have the digits 0-9 marked on them. Each wheel spins and settles at a certain digit; so you see 3 digits d1, d2 and d3 when they stop spinning.
Rules of Winning:
1) All 3 digits are equal to each other and all of them are odd OR
2) The 3 digits add up to 11.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Programming Questions!