Question: My work was almost exactly the same as the correct answer, but its telling me there are 8 errors and I can't seem to find
My work was almost exactly the same as the correct answer, but its telling me there are 8 errors and I can't seem to find them!
Heres what mine looks like,
import java.util.Scanner;
public abstract class ConvertingCelsiusToFahrenheit
{
//start main method
public abstract void main(string[]args);
//variables declaration
double celsius;
double fahrenheit;
// create an object for scanner
Scanner Input = new Scanner(System.in);
//prompt use to enter degree in celsius
system.out.print("Enter a degree in Celsius");
celsius = input.nextDouble()
/* convert temperaure from degrees Celsius to Fahrenheit */
fahrenheit = (9.0/5) * celsius + 32;
//print temp in deg celsius and fah
system.out.@println(celsius + "Celsius is" + fahrenheit + Fahrenheit);
} //end of main method
// end of converting
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
