An open API service indexing awesome lists of open source software.

https://github.com/firowmd/abc-equation-solver

A program that takes alphabetical equations like SEND+MORE=MONEY and finds their numerical solutions.
https://github.com/firowmd/abc-equation-solver

Last synced: about 2 months ago
JSON representation

A program that takes alphabetical equations like SEND+MORE=MONEY and finds their numerical solutions.

Awesome Lists containing this project

README

          

# abc-equation-solver
A program that takes alphabetical equations like `SEND+MORE=MONEY` and finds their numerical solutions.

# Usage
Compile app with
```
gcc main.c
```
Run
```
./a.out [equation 2] ... [equation n]
./a.out SEND+MORE=MONEY
./a.out SEND+MORE=MONEY A+B+C=D
```
Example of output:
```
Equation: SEND+MORE=MONEY
0 = 'M'
1 = 'N'
2 = 'S'
3 = 'O'
4 = ''
5 = 'Y'
6 = 'R'
7 = 'D'
8 = 'E'
9 = ''
```