Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - In Java, enter three integers from the keyboard, assign them to plastic variables A, B and C respectively, and then enter.
In Java, enter three integers from the keyboard, assign them to plastic variables A, B and C respectively, and then enter.
int a = 3,b = 4,c = 5;

int[] array = new int[]{a,b,c };

Java . util . arrays . sort(array); //array sorting

A = array [0];

B = array [1];

c = array[2];