...
Comment out the code from the previous task.
Create two integer variables, call them
num1
andnum2
.Assign them a valid literal value.
Print out their sum.
Create another integer variable -
result
. Assign it the result of division betweennum1
andnum2
. Does it work? Can you fix it?Create another integer variable -
num3
and assign it a value 8.Print out the value of
num3++
.Print out the value of
num3
.Print out value of
++num3
.Is there any difference?
...