Professional Documents
Culture Documents
1. Create a program that will input three numbers and display the largest and smallest number.
Use the UML diagram below as a guide. The following methods are as follows.
import java.util.Scanner;
public class Main{
CPET415L
Object Oriented Programming
De La Salle University - Dasmariñas 2
CEAT – Engineering Department
return max;
}
{ min = third;
}
return min;
}
}
CPET415L
Object Oriented Programming