From 7b6bbe367a7d20fa6a504a8d37d7119a29976f9a Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 19:36:45 +0530 Subject: [PATCH] Exercise 5.2 --- Chapter 5/Exercise 5.2 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Chapter 5/Exercise 5.2 diff --git a/Chapter 5/Exercise 5.2 b/Chapter 5/Exercise 5.2 new file mode 100644 index 0000000..6669612 --- /dev/null +++ b/Chapter 5/Exercise 5.2 @@ -0,0 +1,7 @@ +let counter = 0; +let step = 5; +do { + console.log(counter); + counter += step; +} +while (counter <= 100);