Respuestas
Respuesta dada por:
1
Respuesta:
Bucle While
Bucle Do While
Bucle For
Explicación:
//Bucle While
x=1
while(x<=10)
{
Console.WriteLine(x);
x=x+1;
}
//Bucle Do While
x=1
do
{
Console.WriteLine(x);
x=x+1;
}while(x==10);
//Bucle For
For(int i=1; i<10; i++)
{
Console.WriteLine(x);
}
Preguntas similares
hace 5 años
hace 8 años