Computer Science, asked by angel3748, 2 months ago

write a program to accept two numbers and display the lowest value pls answer fast​

Answers

Answered by DeblinaDutta
0

Explanation:

import java.util. Scanner;

public class minimum

{

public static void main ()

{

Scanner in = new Scanner (System. in);

System.out.println("enter any two numbers of your choice");

double a, b;

a = in. nextDouble();

b = in. nextDouble();

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

System.out.println (" lowest value is = "+min);

}

}

Similar questions