can anyone help with this program I tried to get user input but everytime I change the celcius to double or move it I get an error code that says it may not have been initilized. thanks for any help.
import java.util.Scanner;
class conversion{
public static void main(String args[]){
Scanner tempature = new Scanner(System.in);
float DegreesFahrenheit, DegreesCelcius;
System.out.println(tempature.nextLine());
DegreesCelcius=4;
System.out.println(DegreesCelcius);
DegreesFahrenheit= (DegreesCelcius+32)*9/5;
System.out.println(DegreesFahrenheit);
System.out.print("degrees");
}
}