rodukov / MathProportion

Simple mathematical proportion in c++ language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MathProportion

Simple mathematical proportion in c++ language

How to use?

Set fraction values in the order numerator-denominator = numerator-denominator
Example:
51(first) 16(third)
--------- = --------
x(second) 41(fourth)

Run(c++)

To compile and run it: g++ main.cpp -o main && ./main
You can also use run.sh: chmod +x run.sh && ./run.sh
Run only binary file: chmod +x main && ./main

Not one-line code compilation

First, install g++(Debian/Ubuntu): sudo apt install g++
Second, compile: g++ main.cpp -o main
Third, run it: ./main

Run(js)

You need to install node.js, then run the command: node main.js

About

Simple mathematical proportion in c++ language

License:GNU General Public License v3.0


Languages

Language:C++ 61.6%Language:JavaScript 37.2%Language:Shell 1.2%