Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 7. 13
- 8. 0
- 9. 3
- 10. 4
- 11. 1
- 12. 7
- 13. 5
- 27.
- int a = 3;
- int b = 5;
- int c = 8;
- int abc = a + b + c;
- System.out.print(abc);
- 29. int a = 10;
- int b = 3;
- System.out.print(a % b);
- 32. int b = 3 - 7;
- int b = b * 4;
- int a = b * b;
- int a = a + b * 3 * 5;
- int b = b / 2;
- int b = b % 3;
- 35. the result of 7.5 % 3 would be a decimal and decimal cannot be stored in int variables
- 44. int a = 1 * 1;
- int b = 2*2;
- int c = 3*3;
- int d = 4*4;
- int e = 5*5;
- int f = 6*6;
- int g = 7*7;
- int h = 8*8;
- int i = 9*9;
- System.out.print(a + "\t" + b + "\t" + c + "\t" + d + "\t" + e + "\t" + f + "\t" + g + "\t" + h + "\t" + i);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement