Wednesday, April 1, 2015

java-Do while

 
public class DoWhile {
 
    public static void main(String[] args) {
        int coun=0;
        do{
            coun++;
            System.out.println(coun);
            
        }while(coun<=10);
 
    }
 
}

No comments:

Post a Comment