All pastes #577466 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-19 22:23 UTC
rendered paste body
import java.swing.JOptionPane;
import javax.swing.*;

public class Sequence{
    
    public static void main (String args[]){
    
        String inputInteger;
        int inputInt;
		int correct;
		int incorrect;
        //int tries=0;
        
        inputInt = Integer.parseInt
            (JOptionPane.showInputDialog
                ("Enter an even integer"));
        for(int tries = 0; tries < 10; tries++; ){
			while(inputInt % 2 == 0){
				correct++;
			}
			incorrect--;
		}
/*        while (inputInt%2==0){
            tries += 10;
            inputInt = Integer.parseInt
                (JOptionPane.showInputDialog
                    ("Enter the next consecutive even integer"));
        }*/
	}
}