Computer Science, asked by vedant8264, 3 months ago

write a program in Java to find the maximum and minimum of three number using mathematical method​

Answers

Answered by sarthak7989
1

Answer:

complete program

class Testarray{

public static void main(String args[]){

// Create an array

Int [] a = {4,3,6};

System.out.println(Math.Max(a)); returns 6

System.out.println(Math.Min(a)); returns 3

}

Similar questions