Problemas con Ciclo for
Publicado por cesar (22 intervenciones) el 31/12/2017 20:55:53
creo que el que esta mal es el del video yo lo copio igual a el le corre y a mi no
ve este ejemplo ME DA EL MISMO ERROR EN UN PROGRAMA DE 5 lineas solo me da el numero 1 y debe dar 25 numeros
yo llevo un año estudiando por yopu tube pero c harp solo tengo un mes
https://www.youtube.com/watch?v=woNMx_uXB14&index=10&t=3s&list=PLtz2BIuo3zIryIjX7ooF1nXouGN4thtrM link de you tube
ve este ejemplo ME DA EL MISMO ERROR EN UN PROGRAMA DE 5 lineas solo me da el numero 1 y debe dar 25 numeros
yo llevo un año estudiando por yopu tube pero c harp solo tengo un mes
https://www.youtube.com/watch?v=woNMx_uXB14&index=10&t=3s&list=PLtz2BIuo3zIryIjX7ooF1nXouGN4thtrM link de you tube
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ciclo_for
{
class Program
{
static void Main(string[] args)
{
for(int x = 1; x< 25; x++)
{
Console.WriteLine(x);
Console.ReadKey();
}
}
}
}
Valora esta pregunta


-1