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

https://github.com/devjjmv/practice1_calculator

Simple console application to perform basic calculator procedures using different languages including C++, Java, JavaScript & Typescript
https://github.com/devjjmv/practice1_calculator

calculator-application cpp java javascript typescript

Last synced: 3 months ago
JSON representation

Simple console application to perform basic calculator procedures using different languages including C++, Java, JavaScript & Typescript

Awesome Lists containing this project

README

          

# Basic Console Calculator

This is a **basic calculator** designed to run in the log console. The calculator allows users to perform basic mathematical operations as well as some advanced functions interactively,developed in some programming languages such as:

👉![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black)

👉![C++](https://img.shields.io/badge/C++-00599C?style=for-the-badge&logo=c%2B%2B&logoColor=white)

👉![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)

👉![Java](https://img.shields.io/badge/Java-007396?style=for-the-badge&logo=java&logoColor=white)


## **Features**🚩

The calculator supports the following operations:

1. **Basic Operations:**
- ![Addition](https://img.icons8.com/color/48/000000/plus-math.png) **Addition**
- ![Subtraction](https://img.icons8.com/color/48/000000/minus-math.png) **Subtraction**
- ![Multiplication](https://img.icons8.com/color/48/000000/multiply.png) **Multiplication**
- ![Division](https://img.icons8.com/color/48/000000/divide.png) **Division**
- ![Modulus](https://img.icons8.com/color/48/000000/percentage.png) **Modulus (integer numbers only)**
- ![Square Root](https://img.icons8.com/color/48/000000/square-root.png) **Square Root**

2. **Additional Operations:**
- Power
- Average of two numbers
- Logarithm (base 10)
- Natural logarithm

## **How to Compile and Run**

1. Clone the repository:
```bash
git clone https://github.com/your_username/Practice1_calculator
cd Practice1_calculator
2. Select the folder with the preferer programming language

4. Run the program:
```bash
./calculator