Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public class World
  2. {
  3.  
  4. public static void main(String[] args)
  5.  
  6. {
  7. int a=7, b=5, c=8;
  8. System.out.println("7 + 5 + 8 = " + (a+b+c));
  9.  
  10. int i=0;
  11. while(i<20)
  12. {
  13. if(i<10)
  14. {
  15. System.out.println("YES");
  16. }
  17. else
  18. {
  19. System.out.println("NO");
  20. }
  21. i++;
  22. }
  23.  
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement