https://github.com/xeintdm/simple-calculator
https://github.com/xeintdm/simple-calculator
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xeintdm/simple-calculator
- Owner: XeinTDM
- Created: 2023-06-01T17:50:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-11T00:54:47.000Z (5 months ago)
- Last Synced: 2025-01-11T01:45:07.760Z (5 months ago)
- Language: C#
- Homepage: https://guns.lol/xein
- Size: 94.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```
## Usage1. 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.