A simple calculator builded only using C#.
View Demo
Β·
Explore the doc
A simple calculator builded only using C#, whose contain these operations: addition, subtraction, multiplication, and division.
I created this project for learn and pratice the C# language, but this project It offers a quick, easy, and affordable way to perform basic mathematical operations with lightweight software that can be compiled/run in your terminal. The project also serves as a solid foundation for future evolution (new functions, validations, history, advanced UI), using the initial logic of the code.
Table of Contents
To use this project, you need a C# interpreter, which you can easily install. To obtain a local copy and run it, follow these steps.
In VSCode, we can install extensions that enhance its functionality, allowing you to customize the editor according to your specific needs. The C/C++ extension is particularly important, as it provides fundamental resources for C development. To install it, follow the steps below:
- Press Ctrl+Shift+X to open the extensions tab
- Search for "C/C++" (official Microsoft extension)
- Click "Install":
https://share.google/iNyoPGxWDD91PFkWy
- Clone the repository
- Open the project in VS Code
- Check the compiler
In the VS Code terminal, run: - Compile the program
- Run the program
git clone https://github.com/BeeyWasser/Calculator.gitcd Calculator
code .gcc --versiongcc main.c -o calculadora./calculadora(On Windows: calculadora.exe)
The calculator will run in the terminal, allowing users to perform basic arithmetic operations quickly and reliably.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star π!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/Calculator) - Commit your Changes (
git commit -m 'Add some Calculator') - Push to the Branch (
git push origin feature/Calculator) - Open a Pull Request
## License
Distributed under the MIT License. See LICENSE.txt for more information.