Skip to content

Commit 3cf4e8f

Browse files
committed
commit
1 parent 781aaa3 commit 3cf4e8f

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

ControlStatement/ConditionalStatement.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,4 +275,15 @@ let i3= 1;
275275
while(i3<=5){
276276
console.log("Hello Kaise Hoo");
277277
i3++;
278-
}7
278+
}
279+
let i4 = 1;
280+
while(i4<=4){
281+
console.log("Hi Mai Bhadhiya Huu Tum Kaise Hoo");
282+
i4++;
283+
}
284+
285+
let i5 = 2;
286+
while(i5<-10){
287+
console.log("Hey, How are You"); //while(i5 < -10) → this means the loop will run only if i5 is less than -10
288+
i5++;
289+
} //The loop never runs //No Output

0 commit comments

Comments
 (0)