Browse Source

Correct markdown highlighting

DEV-3241-DEV-3242-corewar
estlop 2 years ago committed by Dav Hojt
parent
commit
0bcc0ddfb7
  1. 8
      subjects/pingpong/README.md

8
subjects/pingpong/README.md

@ -1,10 +1,12 @@
## pingpong
### Instructions
Write a program that checks if all numbers up to a given number are odd or even.
The numbers will be between `0` and `100`.
The numbers will be between 0 and 100.
- If the number is `odd` then it prints `ping` as in the example below.
- If the number is `even` then it prints `pong`.
- If the number is odd then it prints the number and `ping` as in the example below.
- If the number is even then it prints the number and `pong` in the same way.
- If the number of arguments is invalid then do nothing.
### Usage

Loading…
Cancel
Save