Thanks to visit codestin.com
Credit goes to github.com

Skip to content

24 is a mental arithmetic game, first played using poker cards. Given four integers, the objective is to produce the number 24 using the standard arithmetic operators +, −, ∗ and /, while consuming all four numbers in the process.

Notifications You must be signed in to change notification settings

kxdxzr/Twenty-Four

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Twenty-Four

24 is a mental arithmetic game, first played using poker cards. Given four integers, the objective is to produce the number 24 using the standard arithmetic operators +, −, ∗ and /, while consuming all four numbers in the process.
Done in 2018

Possible Improvement

Instead of using several layers of loop, it can be done by recursive. Also this way can make the input has no length limit.

About

24 is a mental arithmetic game, first played using poker cards. Given four integers, the objective is to produce the number 24 using the standard arithmetic operators +, −, ∗ and /, while consuming all four numbers in the process.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages