Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 661dd12

Browse files
author
Holger Lösken
committed
Update description test3
1 parent 5aa661d commit 661dd12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ Ordinal numbers in English have something like `st`, `nd`, `rd`, etc.
2828
### Task 3
2929

3030
Create a calculator for [Reverse Polish Notation](https://en.wikipedia.org/wiki/Reverse_Polish_notation).
31+
Write a `calculate` function that accepts an input and returns the result of the operation.
3132

3233
**Requirements:**
3334
* Support the mathematical operations for `+`, `-`, `*` and `/`
3435
* Check for invalid syntax, like `2 3+`. There is a space missing.
3536
* Return 0 (integer) when nothing is entered
36-
* Return the numeric value when no operand is given
37+
* Return the numeric value when no operand is given, like `1 2 3.5` return `3.5`
3738

3839
## Contribute
3940

0 commit comments

Comments
 (0)