Computer Science, asked by suryatripathi15, 8 months ago

write a program to find the smallest of the three given integers using the min() method of the math class​

Answers

Answered by prashantrohilla32
5

Answer:

public class Main

{

public static void main(String[] args) {

    int a=10;

    int b=20;

    int c=-7;

    int min=(int)Math.min(a,b);

    System.out.println(Math.min(min,c));

}

}

Explanation:

it is a java program

Attachments:
Similar questions