write a program in Java to find the maximum and minimum of three number using mathematical method
Answers
Answered by
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