From af3c7e87941a43bf9a980c4131d9f2a6a59901e0 Mon Sep 17 00:00:00 2001 From: chaudhary-anurag <33592056+chaudhary-anurag@users.noreply.github.com> Date: Mon, 5 Nov 2018 12:29:10 +0530 Subject: [PATCH] Fixed minor typo (#21805) --- guide/english/cplusplus/do-while-loop/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/cplusplus/do-while-loop/index.md b/guide/english/cplusplus/do-while-loop/index.md index e182211fd3..b41670dc13 100644 --- a/guide/english/cplusplus/do-while-loop/index.md +++ b/guide/english/cplusplus/do-while-loop/index.md @@ -16,7 +16,7 @@ Note: Remember to use a semicolon ';' at the end of the condition. ## Details about do-while loop -The do-while loop is used whenever you are sure that a particular process(within the loop) has to be performed at least once. It has many advantages like not initialising the checking variable(eg- char addmore='Y') etc. The semicolon at the end of while is a must. +The do-while loop is used whenever you are sure that a particular process(within the loop) has to be performed at least once. It has many advantages like not initializing the checking variable(eg- char addmore='Y') etc. The semicolon at the end of while is a must. Do something first and then test if we have to continue. The result is that the do block runs at least once. (Because the expression test comes afterward). Take a look at an example: