From 2c240127afbe7087a64cf22a08bea1925dc95da7 Mon Sep 17 00:00:00 2001 From: Augusto Date: Mon, 7 Jun 2021 16:47:10 +0100 Subject: [PATCH] Rephrase instructions for exercise `convertbase` --- subjects/convertbase/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/subjects/convertbase/README.md b/subjects/convertbase/README.md index 06269e652..6638e799b 100644 --- a/subjects/convertbase/README.md +++ b/subjects/convertbase/README.md @@ -2,7 +2,10 @@ ### Instructions -Write a function that returns the conversion of a `string` number from one `string` baseFrom to one `string` baseTo. +Write a function that receives three arguments: +- `nbr`: A string representing a numberic value in a [base](https://simple.wikipedia.org/wiki/Base_(mathematics)). +- `baseFrom`: A string representing the base `nbr` it's using. +- `baseTo`: A string representing the base `nbr` should be represented in the returned value. Only valid bases will be tested.