/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package exerciciofor2;
/**
*
* @author Douglas
*/
public class Exerciciofor2 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
for(int a = 2; a <= 100; a += 2){
System.out.println(a);
}
}
}
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package exerciciofor2;
/**
*
* @author Douglas
*/
public class Exerciciofor2 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
for(int a = 2; a <= 100; a += 2){
System.out.println(a);
}
}
}