Skip to content

BeeyWasser/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Contributors Forks Stars Issues License

Simple Calculator

A simple calculator builded only using C#.

View Demo Β· Explore the doc

πŸ““ Summary

A simple calculator builded only using C#, whose contain these operations: addition, subtraction, multiplication, and division.

πŸ”­ Motivation

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
  1. Getting Started
  2. Usage
  3. Contributing
  4. License

Built With

C#

(back to top)



Getting Started

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.

Prerequisites

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

Installation

  1. Clone the repository
  2. git clone https://github.com/BeeyWasser/Calculator.git
  3. Open the project in VS Code
  4. cd Calculator
    code .
  5. Check the compiler
    In the VS Code terminal, run:
  6. gcc --version
  7. Compile the program
  8. gcc main.c -o calculadora
  9. Run the program
  10. ./calculadora

    (On Windows: calculadora.exe)

Expected Result

The calculator will run in the terminal, allowing users to perform basic arithmetic operations quickly and reliably.

(back to top)

Contributing

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 πŸ’œ!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/Calculator)
  3. Commit your Changes (git commit -m 'Add some Calculator')
  4. Push to the Branch (git push origin feature/Calculator)
  5. Open a Pull Request

(back to top)


## License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Top contributors:

contrib.tops image

About

This is a repository for a simple calculator only using C#, in terminal πŸ““.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages