What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-26 04:20:11
python break continue
The continue statement in Python returns the control to the beginning of the while loop. The continue statement rejects all the remaining statements in the current iteration of the loop and moves the control back to the top of the loop. The continue s... Add solution -
Other 2021-10-21 23:20:07
go language while loop
package main import "fmt" func main(){ //only one type of look in golang. A for loop. to make a while loop simple //emit all statments but the bools var x int = 10 for x > 0{ fmt.Println(x)//this will print all numbers fro... Add solution -
Java 2021-10-21 20:29:08
?whats is the difference between while loop and for loop
//First Code WHILE loop int x = 0; while (x < 10) { //Do Something while x is less than 10 // if you don't want infinity loop increse x x++; } //Second Code But Now Its FOR loop with the same int x with different different result int x = 10 ... Add solution
Best helpers
Snagulus
+5
Adam Dexter
+5
Gbarry
+5
ANeves
+5
Hi-yi
+5
Tick tock
+5
Wolf
+5
Ent
+5
Rajesh Paul
+5
Scared Guy
+5
Nathaniel
+5
Jason Heo
+5
Freddie
+5
Naved Ame
+5
John Kuhl
+5
IberoMedia
+5