package com.java.basic;/** * * @author Ariel */public class NumPar { public static void main(String[] arg){ for (int i = 2; i <= 1000; i+=2) { System.out.println("- " + i); } } }
No hay comentarios:
Publicar un comentario