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.
- Host: GitHub
- URL: https://github.com/firowmd/abc-equation-solver
- Owner: FirowMD
- Created: 2024-06-20T05:34:28.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-21T05:41:56.000Z (almost 2 years ago)
- Last Synced: 2026-01-02T00:56:02.150Z (5 months ago)
- Language: C
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 = ''
```