From 8069923febb6922c792119533b29a20c0d0c53cc Mon Sep 17 00:00:00 2001 From: The Coding Aviator <34807532+thecodingaviator@users.noreply.github.com> Date: Fri, 1 Mar 2019 14:07:25 +0530 Subject: [PATCH] 24 Game: Move instruction to instructions section --- .../rosetta-code/24-game.english.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/24-game.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/24-game.english.md index 9d96aea0e4..87f1b6fb67 100644 --- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/24-game.english.md +++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/24-game.english.md @@ -6,6 +6,12 @@ challengeType: 5 ## Description
+The 24 Game tests a person's mental arithmetic. +The aim of the game is to arrange four numbers in a way that when evaluated, the result is 24 +
+ +## Instructions +
Implement a function that takes a string of four digits as its argument, with each digit from 1 to 9 (inclusive) with repetitions allowed, and returns an arithmetic expression that evaluates to the number 24. If no such solution exists, return "no solution exists".

Rules:

@@ -24,11 +30,6 @@ Implement a function that takes a string of four digits as its argument, with ea | solve24("1127"); | (1+7)*(2+1) |
-## Instructions -
- -
- ## Tests