I cant seem to figure it out. I need to ask the user for 3 floats, got it. Having trouble with the output of the high and low part. Any help would be awesome!
package temp;
import java.util.Scanner;
/**
*
* @author Pherman
*/
public class Temp {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
float temp1;
float temp2;
float temp3;
float highTemp;
float lowTemp;
System.out.print("Please enter your first temperature");
temp1=scan.nextFloat();
System.out.print("Please enter your second temperature");
temp2=scan.nextFloat();
System.out.print("Please enter your third temperature");
temp3=scan.nextFloat();
}
}