From 774321d184544e415f5deeecf74ba1d2c876d696 Mon Sep 17 00:00:00 2001 From: LEEDASILVA <39002521+LEEDASILVA@users.noreply.github.com> Date: Fri, 27 Sep 2019 12:09:20 +0100 Subject: [PATCH] Update doop.en.md --- subjects/doop.en.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/subjects/doop.en.md b/subjects/doop.en.md index ba030cd9a..1e55cfd8e 100644 --- a/subjects/doop.en.md +++ b/subjects/doop.en.md @@ -21,18 +21,18 @@ The program has to handle the modulo and division operations by 0 as shown on th ### Usage ```console -student@ubuntu:~/piscine/test$ go build doop.go -student@ubuntu:~/piscine/test$ ./doop -student@ubuntu:~/piscine/test$ ./doop 1 + 1 | cat -e +student@ubuntu:~/piscine-go/test$ go build doop.go +student@ubuntu:~/piscine-go/test$ ./doop +student@ubuntu:~/piscine-go/test$ ./doop 1 + 1 | cat -e 2$ -student@ubuntu:~/piscine/test$ ./doop hello + 1 | cat -e +student@ubuntu:~/piscine-go/test$ ./doop hello + 1 | cat -e 0$ -student@ubuntu:~/piscine/test$ ./doop 1 p 1 | cat -e +student@ubuntu:~/piscine-go/test$ ./doop 1 p 1 | cat -e 0$ -student@ubuntu:~/piscine/test$ ./doop 1 / 0 | cat -e +student@ubuntu:~/piscine-go/test$ ./doop 1 / 0 | cat -e No division by 0$ student@ubuntu:~/piscine-go/test$ ./doop 1 % 0 | cat -e No modulo by 0$ student@ubuntu:~/piscine-go/test$ ./doop 1 "*" 1 1 -``` \ No newline at end of file +```