Skip to content

CalculatorApp is a C# console application for parsing and evaluating mathematical expressions and equations. By Andrew Marchese

Notifications You must be signed in to change notification settings

AndrewJesse/CalculatorApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CalculatorApp

image

Overview

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.

Current Capabilities

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 .

Future Capabilities

This application can only solve simple equations like 55, aa, or 2 + 6 * 24.11 - 2^4. Please feel to add more features :)

Documentation

This project currently uses this NuGet package. https://symbolics.mathdotnet.com/

Quick Start Guide

To use the calculator, follow these steps:

  1. Clone the repo and compile the application.
  2. Run the console app.
  3. Upon being prompted, input a calculation string such as "20 + 1200 + 1".
  4. Press enter to receive the output of your calculation, in this case, 1221.

Contribute

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

Contribution Guide

Follow these steps to contribute to CalculatorApp using Visual Studio's Git version control:

  1. Fork the Repository: Visit CalculatorApp and click on the 'Fork' button at the top right corner.

  2. Clone the Forked Repository: Open Visual Studio. Go to File > New > Repository or View > Team Explorer > Clone (if you already have a project open). In the 'Repository location' field, enter https://github.com/yourusername/CalculatorApp.git. Replace 'yourusername' with your actual GitHub username.

  3. Create a New Branch: In the Team Explorer window, click on the 'Branches' view. Right-click on the main or master branch and choose New Local Branch From.... In the 'Name' field, enter the name of your new branch.

  4. Make Your Changes: Open the project in Visual Studio, make your changes, and save the files.

  5. 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'.

  6. 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.

  7. 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.

About

CalculatorApp is a C# console application for parsing and evaluating mathematical expressions and equations. By Andrew Marchese

Topics

Resources

Stars

Watchers

Forks

Languages