-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ejercicio 13 #5
Comments
Lo acabo de rehacer. A ver que pinta tiene ahora. |
No hace falta que subas nuevas copias, puedes ver como estaba el archivo |
El for (vuelta = 1; vuelta < 100; vuelta += 2) { Y avanza de dos en dos. El |
Lo he vuelto a resubir, tiene mejor pinta ahora |
Observaciones
(1)
Para controlar el bucle
do-while
, en vez de una variable numérica usa unboolean
, queda más clara su función. Una variable numérica da a entender que vas a contar algo.(2)
En vez de escribir esto:
Escribe:
Queda mucho más claro.
(3)
En este bloque:
¿No hay mucha repetición? Hay muy poco que cambie de uno a otro si te fijas.
Mejoras necesarias
if
y unfor
.The text was updated successfully, but these errors were encountered: