Add addition and subtraction functions

This commit is contained in:
venomade committed 2026-10-19 10:07:34 +01:00
commit 31f4fa6c31
3 files changed
+32

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
# Calculator
A simple calculator application for the Terminal, built step by step in SCCM4910.
It will run on `Python 3` via the `calculator.py` script.
## What It Will Do
Add, subtract, multiply and divide two numbers; display the result.
## How to Run It
From Week 3: `python3 calculator.py`
## Usage
- First enter a number
- Then enter an operator (`+`,`-`,`*` or `/`)
- Lastly enter a second number
- Read the result, printed as `Result: ` followed by the answer.