CalculatorApp is an open-source C# console application that aims to calculate and output results based on a single string input. The application currently supports operations like addition and needs to be built with extensibility in mind.
Designed to serve as a learning and contribution repo, this project embraces an inclusive and open community where everyone is encouraged to contribute. Any improvements, feature additions, or bug fixes are highly welcomed.
The calculator can currently process basic algebra input containing numerical values and operators (e.g., '2 + 6 * 24.11 - 2^4'), and it outputs the result of that calculation .
This application can only solve simple equations like 55, aa, or 2 + 6 * 24.11 - 2^4. Please feel to add more features :)
This project currently uses this NuGet package. https://symbolics.mathdotnet.com/
To use the calculator, follow these steps:
- Clone the repo and compile the application.
- Run the console app.
- Upon being prompted, input a calculation string such as "20 + 1200 + 1".
- Press enter to receive the output of your calculation, in this case, 1221.
Your contributions are what make this project valuable and successful. Feel free to tackle any issues, make improvements, or add new features. Every little bit helps and is much appreciated. Don't hesitate to make a pull request or open an issue.
JOIN THE DISCORD Discord Server
Follow these steps to contribute to CalculatorApp using Visual Studio's Git version control:
-
Fork the Repository: Visit CalculatorApp and click on the 'Fork' button at the top right corner.
-
Clone the Forked Repository: Open Visual Studio. Go to
File > New > Repository
orView > Team Explorer > Clone
(if you already have a project open). In the 'Repository location' field, enterhttps://github.com/yourusername/CalculatorApp.git
. Replace 'yourusername' with your actual GitHub username. -
Create a New Branch: In the Team Explorer window, click on the 'Branches' view. Right-click on the
main
ormaster
branch and chooseNew Local Branch From...
. In the 'Name' field, enter the name of your new branch. -
Make Your Changes: Open the project in Visual Studio, make your changes, and save the files.
-
Commit Your Changes: Once you have made your changes, go to
Team Explorer > Changes
and enter a commit message that describes your changes. Then click 'Commit All'. -
Push to Your GitHub Repository: After committing your changes, click 'Sync' at the top of the Team Explorer window. Then click 'Push' to push your changes to your forked repository on GitHub.
-
Create a Pull Request: Navigate back to your forked repository on GitHub, switch to your branch, and click the 'New pull request' button. Review your changes and submit your pull request.
Thank you for your interest and we look forward to seeing your contributions.