for
int[] numbers = new int[] { 1, 2, 3, 4, 5 };
for (int i = 0; i < numbers.Length; i++)
{
numbers[i] = numbers[i] * 2;
Console.WriteLine(numbers[i]);
}
for
int[] numbers = new int[] { 1, 2, 3, 4, 5 };
for (int i = 0; i < numbers.Length; i++)
{
numbers[i] = numbers[i] * 2;
Console.WriteLine(numbers[i]);
}
for
<?php
for ($a = 5; $a<10; $a+=3) {
print $a; // Se muestran los valores 5 y 8
print "<br />";
}
?>
for
For ($i = 1; $i -lt 3; $i++)
{
$i
}
for
for (expr1; expr2; expr3)
sentencia o conjunto de sentencias;
for
if (conditional expression):
if (conditional expression):
statements
else:
statements
else:
statements
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us