Browse Source

formatting

pull/104/head
Christopher Fremond 6 years ago committed by Frenchris
parent
commit
88cbab6b06
  1. 8
      subjects/brackets.en.md

8
subjects/brackets.en.md

@ -7,16 +7,16 @@ argument, the program prints on the standard output "OK" followed by a newline
if the expression is correctly bracketed, otherwise it prints "Error" followed by if the expression is correctly bracketed, otherwise it prints "Error" followed by
a newline. a newline.
Symbols considered as 'brackets' are brackets '(' and ')', square brackets '[' Symbols considered as `brackets` are brackets `(` and `)`, square brackets `[`
and ']'and braces '{' and '}'. Every other symbols are simply ignored. and `]`and braces `{` and `}`. Every other symbols are simply ignored.
An opening bracket must always be closed by the good closing bracket in the An opening bracket must always be closed by the good closing bracket in the
correct order. A string which not contains any bracket is considered as a correct order. A string which do not contains any bracket is considered as a
correctly bracketed string. correctly bracketed string.
If there is no arguments, the program must print only a newline. If there is no arguments, the program must print only a newline.
And its output : Examples of outputs :
```console ```console
student@ubuntu:~/student/test$ go build student@ubuntu:~/student/test$ go build

Loading…
Cancel
Save