dado dicha secuencia de numeros
Código:
1 15 10 5 0 2 15 10 5 0 3
devemos realizar una iteracion que nos de esa secuencia...simple pero al que se le valla ocurriendo mas lo vamos haciendo,, espero que tenga futuro el pos

dejo mi primera solucion
Código:
'1 15 10 5 0 2 15 10 5 0 3
Dim i As Integer
Dim j As Integer
For i = 1 To 3
Debug.Print i
If i = 3 Then Exit For
For j = 15 To 0 Step -5
Debug.Print j
Next j
Next i
Dim i As Integer
Dim j As Integer
For i = 1 To 3
Debug.Print i
If i = 3 Then Exit For
For j = 15 To 0 Step -5
Debug.Print j
Next j
Next i










Autor



En línea


