Let us say you have 2 declared variables, each being an integer.
result = variable1 / variable2;
result
is a double.
What would be the values of each of the variables after the previous statement executes? Let's say variable1
is 10 and variable2
is 6