Write a program that enters three integers from the keyboard to find the minimum value in three integers.
Key: Declare the variable temp compared to each numeric value.
1 PackageExam01;2 ImportJava.util.Scanner;3 4 Public classTOPIC03 {5 Public Static voidMain (string[] args) {6 //TODO auto-generated method Stubint a,b,c;7 //input8Scanner input =NewScanner (system.in);9System.out.println ("Please enter an integer:");TenA =input.nextint (); OneSystem.out.println ("Please enter two integers:"); Ab =input.nextint (); -System.out.println ("Please enter three integers:"); -c =input.nextint (); theSystem.out.println (A + "," +b+ "," +c); - intTempintmin; - if(a>b) { -temp =A; +A =b; -b =temp; + } A if(a>c) { atMin =b; -}Else{ -Min =A; -}if(min>c) { -Min =C; - } inSYSTEM.OUT.PRINTLN ("Minimum value:" +min); - } to}
Java Programming Basics---------> Write a program that enters three integers from the keyboard to find the minimum value in three integers.