3 public class fudian { public static void main(String[] args) { float a=2
10f,b=3
70f; float Result1,Result2,Result3; Result1=a+b; Result2=a-b; Result3=a*b; System
println("Result1 is:"+Result1); System
println("Result2 is:"+Result2); System
println("Result3 is:"+Result3); } } 2
4 public class TempConverter { public static void main(String[] args) { final int BASE = 32; final double CONVERSION_FACTOR = 5
0; double celsiusTemp; int fahrenheitTemp = 70; // value to convert celsiusTemp = (fahrenheitTemp - BASE)*CONVERSION_FACTOR; System
println ("Fahrenheit Equivalent: " + fahrenheitTemp); System
println ("Celsius Temperature: " + celsiusTemp); } } 2
5 public class yinglizhuanqianmi { public static void main(String[] args) { float Base=1
60935f; float Qianmi; fl