Question: Temperature-ng, java //Broken Code // Debugging Problem import java.util.Scanner; public class Temperature public static void main( String args[]) int option; int degreel; int celsius1; int

 Temperature-ng, java //Broken Code // Debugging Problem import java.util.Scanner; public class

Temperature-ng, java //Broken Code // Debugging Problem import java.util.Scanner; public class Temperature public static void main( String args[]) int option; int degreel; int celsius1; int fahrenheitl; Scanner input new Scanner( System.in ); option ; While ( option 3) Systen.out.printf( -%s XsVn%s ",--1 for Fahrenheit to Celsid., "2 for Celsius to Fahrenheit","3 to quit:) option = input.nextDouble(); System.out.println( "Enter the degrees in Fahrenheit:) degree1input.nextDouble) celsiusi (degreel 32) 59; System.out.printf( "The temp in Celsius is Xdn", celsiusi) if ( option2) System.out.println "Enter the degrees in Celsius: ); degree! = input.nextDouble(); fahrenheit! ( degree! * 9 / 5 ) + 32; System.out.printf "The temp in Fahrenheit is din, fahrenheiti); I/ end while loop // end method Main I/ end class Temperature Please fix the errors and give the right code using JAVA Page 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!