“Enquanto” Respostas de código

faça enquanto loop

var i=0;
while (i < 10) {
	console.log(i);
	i++;
}
//Alternatively, You could  break out of a loop like so:
var i=0;
while(true){
	i++;
	if(i===3){
		break;
	}
}
Grepper

Enquanto

FunctionPointerExample objFunctionPointerExample = new FunctionPointerExample();

//Call GetName function using TestDelegate
TestDelegate objDelegate1 = new TestDelegate(objFunctionPointerExample.GetName);
objDelegate1.Invoke("Mukesh Kumar");

Enquanto

FunctionPointerExample objFunctionPointerExample = new FunctionPointerExample();

//Call GetName function using TestDelegate
TestDelegate objDelegate1 = new TestDelegate(objFunctionPointerExample.GetName);
objDelegate1.Invoke("Mukesh Kumar");

enquanto

while True:
	print("A period of time.")
    # "we chatted for a while"
    print("Similar: time spell stretch stint")
    
    print("at the same time; meanwhile.")
    # "he starts to draw. talking for a while"
    
"""
CONJUCTION :D
"""

    
Crazy Crossbill

Procure respostas de código populares por idioma

Procurar outros idiomas de código