From 69c2b7a4724ef9bc4873365fe6709d8c4586e00f Mon Sep 17 00:00:00 2001 From: nikhil269 Date: Tue, 8 Oct 2019 17:55:23 +0530 Subject: [PATCH] New --- Loops/do while Structure/demonstrat.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Loops/do while Structure/demonstrat.cpp diff --git a/Loops/do while Structure/demonstrat.cpp b/Loops/do while Structure/demonstrat.cpp new file mode 100644 index 0000000..c45e337 --- /dev/null +++ b/Loops/do while Structure/demonstrat.cpp @@ -0,0 +1,14 @@ +#include +using namespace std; + +int main () +{ + /* local variable Initialization */ int n = 1,times=5; + + /* while loops execution */ while( n <= times ) + { + cout << "C++ while loops: " << n <