Arush22

Untitled

Nov 30th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. 3. all of them except the third, seventh, and eight.
  2. 14. 2.4
  3. 15. 2
  4. 16. 2.4
  5. 17. 2.4
  6. 18. 6
  7. 19. 5
  8. 20. 4
  9. 21. 7
  10. 22. 0
  11. 28. System.out.println( (a+b)/2 );
  12. 30. a++;
  13.  
  14. 31. a *= 3;
  15. 36. Error
  16. 37. There is a space between the minus sign and the equals sign.
  17. 42. The problem is that you divided two integer values in order to get a double or decimal value. You need to add a .0 to the end of one of the numbers.
  18. 43. The problem is that you put the plus sign after the equals sign. Change the code to a += 3;.
  19. 45. System.out.println( (1+7+9+34)/4 );
  20. 51. System.out.println( "a3+b3=c3" );
Add Comment
Please, Sign In to add comment