mirror of https://github.com/01-edu/public.git
docs: Correct when to display ping and pong
This commit is contained in:
parent
0bcc0ddfb7
commit
c19bfb50ea
|
@ -5,8 +5,8 @@
|
||||||
Write a program that checks if all numbers up to a given number are odd or even.
|
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 the number and `ping` as in the example below.
|
- 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 `pong` in the same way.
|
- 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.
|
- If the number of arguments is invalid then do nothing.
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
Loading…
Reference in New Issue