Problem 1713. Can you beat the lottery?
Solution Stats
Problem Comments
-
2 Comments
Armando Villani
on 22 Jun 2014
You need to test with more than one number. Many attempt (and succeed) with a static vector solution until they are lucky.
Rainaire Hansford
on 24 May 2019
When i run the program it says fn is undefined. Please explain
Problem Recent Solvers42
Suggested Problems
-
1742 Solvers
-
Program an exclusive OR operation with logical operators
671 Solvers
-
7031 Solvers
-
Celsius to Fahrenheit converter
485 Solvers
-
105 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!