Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/brd6/bistromathique


https://github.com/brd6/bistromathique

c calculator epitech

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

        

This project consists of creating a program that can perform arithmetic operations on numbers whose order of size is not fixed and in any base.

### Usage
```
./calc base operators size_read
```

### Examples

```
echo "3+6" | ./calc 0123456789 "()+-*/%" 3

echo "3v6" | ./calc 0123456789 "{}vwxyz" 3

echo "-(12-(4*32))" | ./calc 0123456789 "()+-*/%" 12

echo "-(e@-(;*!@))" | ./calc "~^@!;ie& ]" "()+-*/%" 13
```