From c4bc059ffb4c5f50327860bb2cae911d1dfd4098 Mon Sep 17 00:00:00 2001 From: Tlekbai Ali Date: Thu, 26 Sep 2019 02:06:30 -0400 Subject: [PATCH] Fix subject description Usage program was taken from putnbr sample. `123` cant be called as it is not considered by task description (0 < n < 10). Also, the console output shows putnbr's function call output. --- subjects/printcombn.en.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/subjects/printcombn.en.md b/subjects/printcombn.en.md index 88154648..a969e2c0 100644 --- a/subjects/printcombn.en.md +++ b/subjects/printcombn.en.md @@ -32,7 +32,7 @@ import piscine ".." func main() { piscine.PrintCombN(1) piscine.PrintCombN(2) - piscine.PrintCombN(123) + piscine.PrintCombN(9) } ``` @@ -41,6 +41,8 @@ And its output : ```console student@ubuntu:~/piscine/test$ go build student@ubuntu:~/piscine/test$ ./test --1230123 +0, 1, 2, 3, 4, 5, 6, 7, 8, 9 +012, 013, 014, 015, 016, 017, 018, ... 679, 689, 789 +012345678, 012345679, ..., 123456789 student@ubuntu:~/piscine/test$ ```