/** * Write a description of class Temperature here. * * @author (your name) * @version (a version number or a date) */ import java.util.*; public class Temperature { public static void main(String [] args) { Scanner keyboard = new Scanner(System.in); System.out.print("Enter a temperature: "); int temp = keyboard.nextInt(); boolean tooHot = false; tooHot = isTooHot(temp); if (tooHot) System.out.println("Hot in here!"); else System.out.println("Not hot at all..."); } public static boolean isTooHot(int t) { boolean returnValue = false; if (t > 85) returnValue = true; return returnValue; } }