1. Engineering
  2. Electronics Engineering
  3. output each of the following expressions on the console hint...

Question: output each of the following expressions on the console hint...

Question details

Output each of the following expressions on the console, Hint: System.out.println().

a. 12 / 5 + 8 / 4 ______________________________

b. 3 * 4 + 15 / 2 ______________________________

c. -(1 + 2 * 3 + (1 + 2) * 3) ______________________

d. 42 % 5 + 16 % 3 ____________________________

e. 2.5 * 2 + 17 / 4 _____________________________

f. 4.5 / 3 / 2 + 1______________________________

g. 2 + 6 + "cse 142" ____________________________

h. "cse 142" + 2 + 6

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution