Welcome to the Fraction Calculator! This program is designed to calculate various types of fractions. Whether you're adding, subtracting, multiplying, or dividing fractions, this calculator has got you covered.
- Basic Arithmetic: Perform addition, subtraction, multiplication, and division of fractions.
- Mixed Fractions: Easily work with mixed fractions.
- Error Handling: Robust error handling ensures smooth operation even with invalid inputs.
- User-Friendly Interface: Simple terminal interface for easy interaction.
To get started with the Fraction Calculator, follow these steps:
- Clone this repository to your local machine.
- Navigate to the project directory.
- Run the program in your terminal using the appropriate command.
Once the program is running, follow the on-screen prompts to input the fractions you want to calculate. The calculator will display the result promptly.
Example:
<div style="font-family: monospace;">
<span>
<p>Please enter the operation you want to do [+, -, *(Multiplication), /(Division), gcd or type "clear"]: +</p>
<hr style="border: 1px dashed black;">
<pre><span style="color:red;">
\_/
?
----- + -----
? ?
</span></pre>
<p>Please enter the <b>numerator</b> of the <b>first</b> fraction as seen above, or type 'reset' to reset: 1</p>
<hr style="border: 1px dashed black;">
<pre>
1 ?
----- + -----
? ?
_
/ \
|
|
</pre>
<p>Please enter the <b>denominator</b> of the <b>first</b> fraction as seen above, or type 'reset' to reset: 2</p>
<hr style="border: 1px dashed black;">
</span>
</div>
If you encounter any issues while using the Fraction Calculator, please feel free to report them in the Issues tab of this repository. While we may not actively work on resolving them, your feedback is valuable for potential future improvements.
This project is licensed under the MIT License - see the LICENSE file for details.
- Special thanks to the ErMax Team for their contributions to this project.