Created
November 19, 2015 08:25
-
-
Save e-tverdokhleb/4647de7ed8ba932ad60f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main(String[] args) { | |
printNumbers(1,133); | |
} | |
static void printNumbers(int i, int n) { | |
while(i < n){ | |
n++; | |
i =n +1; | |
System.out.println("n: "+n + "\ni: "+i); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment