Skip to content

Commit

Permalink
Sync wordy docs. (exercism#2683)
Browse files Browse the repository at this point in the history
This removes the bonus section about handling exponents.
  • Loading branch information
IsaacG authored Jun 18, 2023
1 parent 255180f commit 2c24d4e
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions exercises/practice/wordy/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ Now, perform the other three operations.

Handle a set of operations, in sequence.

Since these are verbal word problems, evaluate the expression from
left-to-right, _ignoring the typical order of operations._
Since these are verbal word problems, evaluate the expression from left-to-right, _ignoring the typical order of operations._

> What is 5 plus 13 plus 6?
Expand All @@ -55,14 +54,6 @@ left-to-right, _ignoring the typical order of operations._

The parser should reject:

* Unsupported operations ("What is 52 cubed?")
* Non-math questions ("Who is the President of the United States")
* Word problems with invalid syntax ("What is 1 plus plus 2?")

## Bonus — Exponentials

If you'd like, handle exponentials.

> What is 2 raised to the 5th power?
32
- Unsupported operations ("What is 52 cubed?")
- Non-math questions ("Who is the President of the United States")
- Word problems with invalid syntax ("What is 1 plus plus 2?")

0 comments on commit 2c24d4e

Please sign in to comment.