Skip to content

Commit

Permalink
moved all the files to the root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
coApollo committed Aug 4, 2023
1 parent 5809dfa commit 01d9c47
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 36 deletions.
35 changes: 33 additions & 2 deletions collins_apollo/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
# A simple calculator that perfoms mathematic operation
# BASIC ARITHMETIC CALCULATOR
---
### Introduction.
This is a basic calculator that when compled, allows user to perform basic mathematical
expression such as Addition, Subtraction, multiplication and division.The program can be
executed on the Shell Terminal.

<p>This is a basic calculator That runs in the commandline.It was created by collin Apollo in C language.Open README file in the C directory for more information</p>
---
### Arithmetics.
1. Addition '+' eg. 5 + 6 = 11.<br>
1. Subtruction '-' eg 6 - 1 = 5.<br>
1. Division '/' eg 12 / 2 = 6.<br>
1. Multiplication '*' eg 4 * 5 = 20.

---
### Usage.
Exiting the calculator :-Press 'q' to exit calculator.<br>
clear screen :-Press 'c' to clear the screen

---
### Compilation.<br>

1. clone the repository
1. Go in to the repository ie. cd <repository>
1. Navigate further in to the collins_apollo directory.
You can run the command below to compile and execute

```bash
gcc main.c main.h calculator.c errorhandler.c errorhandler.h -o calc && ./calc
```
---
### Contact

You can reach me on my email at [[email protected]]
34 changes: 0 additions & 34 deletions collins_apollo/c/README.md

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 01d9c47

Please sign in to comment.