Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

24 Game Solver

This program takes in four integers and then uses functions and for loops to calculate all 64 combinations of all permutations, but returns the first solution found or no solution if there is none.

Usage

  1. Compile the program using: gcc -Wall -std=c99 24.c permute.c.
  2. Run your executable.
  3. Answer the prompts in the command line to see if the four integers and make 24.

About

This program takes in four integers and then uses functions and for loops to calculate all 64 combinations of all permutations, but returns the first solution found or no solution if there is none.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages