Computer Science, asked by cheifmarkyt, 6 months ago

write an if statement to find the smallest of three given integers using min() method of the Math class

Answers

Answered by Oreki
6

Let the three integers be a, b and c then the smallest integer can be found by,

Math.min(a, Math.min(b, c));

Similar questions