diff --git a/subjects/doop.md b/subjects/doop.en.md similarity index 65% rename from subjects/doop.md rename to subjects/doop.en.md index 5fbbe91d..eb6abf9c 100644 --- a/subjects/doop.md +++ b/subjects/doop.en.md @@ -4,15 +4,15 @@ Write a program that takes three strings: -- The first and the third one are representations of base-10 signed integers that fit in an int. +- The first and the third one are representations of base-10 signed integers that fit in an int. - The second one is an arithmetic operator chosen from: `+ - * / %` - The program must display the result of the requested arithmetic operation, followed by a newline. If the number of parameters is not 3, the program just displays a newline. -- You can assume the string have no mistakes or extraneous characters. Negative numbers, in input or output, will have one and only one leading `-`. The result of the operation fits in an int. +- During tests the strings will have no mistakes or extraneous characters. Negative numbers, in input or output, will have one and only one leading `-`. The result of the operation will fit in an int. -Example of output : +Examples of outputs : ```console student@ubuntu:~/piscine/test$ go build @@ -25,4 +25,4 @@ student@ubuntu:~/piscine/test$ ./test "10" "+" "-43" student@ubuntu:~/piscine/test$ ./test student@ubuntu:~/piscine/test$ -``` \ No newline at end of file +```