Computer Science, asked by alokpanday80, 3 months ago

write a program to find minimum of three number by using min()​

Answers

Answered by Anonymous
0

Answer:

public class Example {    public static void main(String args[]) {       int num1 = 15;       int num2 = -5;       int num3 = 7;       if (num1 >= num2 && num1 >= num3)          System.out.println( num1 + " is the maximum number.");       else if (num2 >= num1 && num2 >= num3)          System.out.println( num2 + " is the maximum number.");       else          System.out.println( num3 + " is the maximum number.");    } }

Answered by nirbhaypandey5188
0

Answer:

Mark as brainlist.

Explanation:

Plzzzzzzzzzzzzzzzz mark as brainlist.

Attachments:
Similar questions