An open API service indexing awesome lists of open source software.

https://github.com/xeintdm/simple-calculator


https://github.com/xeintdm/simple-calculator

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Simple Calculator

A simple calculator console application built using C# and .NET 6.0.

## Features

- Basic arithmetic operations: addition, subtraction, multiplication, and division.
- Support for decimal numbers.
- User-friendly interface.

## Getting Started

### Prerequisites

To run this application, you need to have the following software installed on your system:

- [.NET 6.0 SDK](https://dotnet.microsoft.com/download/dotnet/6.0)

### Installation

1. Clone this repository to your local machine or download the source code as a ZIP file.

```bash
git clone https://github.com/XeinTDM/Simple-Calculator.git
```

2. Navigate to the project directory.

```bash
cd Simple-Calculator
```
## Usage

1. Build the project using the following command:

```bash
dotnet build
```

2. Run the application:

```bash
dotnet run
```

The calculator application will start in the console, and you can perform various arithmetic operations by following the on-screen instructions.

## Examples
Here are a few examples of using the calculator:

• Addition:
```bash
Enter the first number: 10
Enter the second number: 5
Result: 15
```
• Subtraction:
```bash
Enter the first number: 10
Enter the second number: 5
Result: 5
```
• Multiplication:
```bash
Enter the first number: 10
Enter the second number: 5
Result: 50
```
• Division:
```bash
Enter the first number: 10
Enter the second number: 5
Result: 2
```

## Contributing
Contributions to this project are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

## License
This project is licensed under the [MIT License](https://opensource.org/license/mit/).

## Contact
You can reach out to me on GitHub @XeinTDM for any further questions or inquiries.