From f6e0c8fa9d89888b4dc789b68f37fbaf14ef480f Mon Sep 17 00:00:00 2001 From: estlop Date: Tue, 28 Jun 2022 13:45:30 +0100 Subject: [PATCH] docs: Correct when to display ping and pong --- subjects/pingpong/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/pingpong/README.md b/subjects/pingpong/README.md index 403a8699..05b35172 100644 --- a/subjects/pingpong/README.md +++ b/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