Browse Source

docs: Correct when to display ping and pong

pull/1327/head
estlop 2 years ago committed by Dav Hojt
parent
commit
c19bfb50ea
  1. 4
      subjects/pingpong/README.md

4
subjects/pingpong/README.md

@ -5,8 +5,8 @@
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.
- 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 is odd then it prints the number and `pong` as in the example below.
- If the number is even then it prints the number and `ping` in the same way.
- If the number of arguments is invalid then do nothing.
### Usage

Loading…
Cancel
Save