2
3
6
Hint: Function to find the least common multiple of 2 integers a, b
private int LCM(int a, int b) {
int al-a, b1=b;
while (a != b) {
if (ab) b=b+bl;
else a = a + al;
}
return a;
}
Note:
If a, b, c, result are not displayed after pressing the "EXECUTE LCM" button, 0.5 points will be deducted.
If every time you press the "EXECUTE LCM" button with the required data, you only replace the existing data line on the table, 0.5 points will be deducted.
Question 3:
IMPORTANT - before you start doing your solution, MUST do the following steps:
+ 95%
Zoom
Close