Advertisement
v_d

Цикл while

v_d
May 28th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. public class r {
  2.  
  3. public static void main(String[] args) {
  4.  
  5. int i = 0;
  6. while (i < 10) {
  7. System.out.println(i);
  8. i++;
  9. }
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement