Skip to content

crystalrain125/Calculate24

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Calculate24

The card game 24: Using the first 4 randomly drawn cards, addition, subtraction, multiplication, and division, create 24. Each card must be used exactly once. For example, if the cards were {1, 1, 3, 6} we can create 24 through 1*(1+3)*6.

This is a program that calculates whether 4 entered numbers lead to a valid solution for 24 and prints out the solutions in reverse Polish notation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages