forked from ALX-SE-Algorithmia/Demo-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved all the files to the root directory
- Loading branch information
coApollo
committed
Aug 4, 2023
1 parent
5809dfa
commit 01d9c47
Showing
7 changed files
with
33 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]] |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.