Java language programming basics programming questions answers_Java language programming and data structures eleventh edition (basics) chapter 2 programming practice answers…
package xz0410sss; import java.util.Scanner; public class xx { public static void main(String[] args) { //Java language programming and data structure The first topic of Chapter 2 // Scanner console = new Scanner(System.in); // System.out.println(“Enter the Celsius column as 37 degrees”); // double ss = console.nextDouble();//Celsius temperature // double cc = (9.0/5)*ss+32; //Fahrenheit temperature // System.out.println(ss+”Celsius”+cc+”Fahrenheit”); //Java language programming and data structure The second topic of Chapter 2 // Scanner console = new Scanner (System.in); //Console input syntax // System.out.println(“Enter radius:”); // double c = console.nextDouble();//radius // System.out.println(“Enter length:”); // double s = console.nextDouble();//length // System.out.println(“Area:”+(c*c)*3.1415926); // System.out.println(“Volume: “+((c*c)*3.1415926)*s); //Java language programming and data structure The third topic of Chapter 2 // Scanner console = new Scanner(System.in); // System.out.println(“Enter the value of feet:”); // double s = console.nextDouble(); // System.out.println(s+”ft”+(s*0.305)+”m”); //Java language programming and data structure The fourth topic of Chapter 2 // Scanner console = new Scanner(System.in); // System.out.println(“Enter a number in points: “); // double c = console.nextDouble(); // System.out.println(c+”pound”+(c*0.454)+”kg”); //Java language programming and data structure The fifth topic of Chapter 2 // Scanner console = new Scanner (System.in); // System.out.println(“Enter subtotal and tip rate:”); // double c = console.nextDouble(); // double s = console.nextDouble(); // System.out.println(“Tip: “+(c*0.15)+”Total cost:…