public class Project_2_1 { public static void main(String[]args) { double T1, T2, T3, T4, T5, Average; T1 = 75.9; T2 = 80.6; T3 = 90.5; T4 = 60.1; T5 = 87.5; Average = (T1 + T2 + T3 + T4 + T5)/5; System.out.println("Average is " + Average); double Ta1, Ta2, Ta3,Ta4, Ta5, Deviation; Ta1 = Math.pow (( T1 - Average ), 2); Ta2 = Math.pow (( T2 - Average ), 2); Ta3 = Math.pow (( T3 - Average ), 2); Ta4 = Math.pow (( T4 - Average ), 2); Ta5 = Math.pow (( T5 - Average ), 2); Deviation = Math.sqrt ( ( ( Ta1 + Ta2 + Ta3 + Ta4 + Ta5 ) / 5 ) ); System.out.println("Deviation is " + Deviation); double Small, Large; Small = Math.min ( Math.min ( Math.min ( T1, T2 ), Math.min ( T3, T4) ), T5 ); Large = Math.max ( Math.max ( Math.max ( T1, T2 ), Math.max ( T3, T4) ), T5 ); System.out.println("Max temp is " + Large + " lowest temp is " + Small); } }