Browse Source

formating

pull/92/head
Frenchris 5 years ago committed by GitHub
parent
commit
3f984dd76e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      subjects/addprimesum.en.md

6
subjects/addprimesum.md → subjects/addprimesum.en.md

@ -4,9 +4,9 @@
Write a program that takes a positive integer as argument and displays the sum of all prime numbers inferior or equal to it followed by a newline.
- If the number of arguments is not 1, or the argument is not a positive number, just display 0 followed by a newline.
- If the number of arguments is not 1, or if the argument is not a positive number, the program displays 0 followed by a newline.
Example of output :
Examples of outputs :
```console
student@ubuntu:~/piscine/test$ go build
@ -17,4 +17,4 @@ student@ubuntu:~/piscine/test$ ./test 7
student@ubuntu:~/piscine/test$ ./test 57
0
student@ubuntu:~/piscine/test$
```
```
Loading…
Cancel
Save