0.2 Suppose we have the following:
int a = 37,
b = 5;
System.out.println (a - a / b * b - a % b);
Hypothesize what the output will be. Test your hypothesis by executing a small program that includes that code.
Can you find another pair of positive int values for a and b that will produce different output? Explain.
 
 
View Solution
 
 
 
<< Back Next >>