|
|
@ -1,7 +1,7 @@ |
|
|
|
### Instructions |
|
|
|
### Instructions |
|
|
|
|
|
|
|
|
|
|
|
Write a program that checks if a number up to a given number is an odd or even number. |
|
|
|
Write a program that checks if all numbers up to a given number are odd or even. |
|
|
|
The number 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 `odd` then it prints `ping` as in the example below. |
|
|
|
- If the number is `even` then it prints `pong`. |
|
|
|
- If the number is `even` then it prints `pong`. |
|
|
|