FireWire
i just saida random one i didnt read it
import java.util.Scanner;
public class JavaApplication60 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Enter a number in the twenties");
int num = scan.nextInt();
if(num >= 30 || num <= 19){
System.out.println("That's not in the twenties!");
num = 25;
}
System.out.println("Your number is " + num);
}
}
This is the complete code including the main class and main method. I hope this helps!
Answer:
initial_temp = float(input('Celsius Temperature: '))
final_temp = (initial_temp * 1.8) + 32
print(f'{final_temp} F')