docs: Correct when to display ping and pong

This commit is contained in:
estlop 2022-06-28 13:45:30 +01:00 committed by Dav Hojt
parent 0bcc0ddfb7
commit c19bfb50ea
1 changed files with 2 additions and 2 deletions

View File

@ -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