From f241469dd60807eb1c0d1fda86514907298d6324 Mon Sep 17 00:00:00 2001 From: Pav01Founders <92518689+Pav01Founders@users.noreply.github.com> Date: Thu, 14 Oct 2021 12:34:04 +0100 Subject: [PATCH] Update README.md updated instructions for grammar errors. --- subjects/trimatoi/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subjects/trimatoi/README.md b/subjects/trimatoi/README.md index 30cb10d0..0042fcf0 100644 --- a/subjects/trimatoi/README.md +++ b/subjects/trimatoi/README.md @@ -2,13 +2,13 @@ ### Instructions -- Write a function that transforms a number within a `string`, in an `int`. +- Write a function that transforms numbers within a `string`, into an `int`. -- For this exercise the handling of the `-` sign **has** to be taken into account. If the sign is encountered before any number it should determine the sign of the returned `int`. +- If the `-` sign is encountered before any number it should determine the sign of the returned `int`. -- This function will **only** return an `int`. In case of invalid input, the function should return `0`. +- This function should **only** return an `int`. In the case of an invalid input, the function should return `0`. -- **Note**: There will never be more than one sign by `string` in the tests. +- **Note**: There will never be more than one sign in a `string` in the tests. ### Expected function