RyanSaq

Chapter 6-2 Skills practice

Jan 24th, 2019
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. 2.Do while loop
  2. 3.Count controlled loop
  3. 4.false
  4. 11.Hello Hello Done
  5. 12.Hello Hello Done
  6. 13.2
  7. 14.2033
  8. 15.5 and 5
  9. 16.39 and 3
  10. 17.9
  11. 18.6
  12. 19.4,3
  13. 27.
  14. for (int i=1 i<5; i++)
  15. if (i=4)
  16. System.out.println("Hello There")
  17. 29.
  18. int sum = 0
  19. for(int num=0 num<6;)
  20. System.out.println(num + sum)
  21. 32.It is looking for an integer, we do not know when to print hello
  22. 33.It is looking for an integer, we do not know when to print hello
  23. 35.It is + sum not + i
  24. 38.We need to move the i++ to the end
  25. 39.We need <= not <
  26. 40.We are missing a semi colon twice
  27. 41.We need to input a product
  28. 42.We declared int i twice
Add Comment
Please, Sign In to add comment