Answer:
import java.util.Scanner;
public class Main {
 public static void main(String[] args) {
 double celsius; 
 double fahrenheit;
 double formula;
 
 Scanner sc = new Scanner(System.in);
 
 System.out.println("-------FAHRENHEIT TO CELSIUS CONVERTER-------");
 
 System.out.print("Enter the fahrenheit value to be converted: ");
 fahrenheit = sc.nextDouble();
 
 celsius = 5 * ((fahrenheit-32) / 9);
 
 System.out.printf("The converted fahrenheit value is: %.2f", celsius);
 }
}
Step-by-step explanation:
since 5 is dividing celsius, you can throw it to the other side multiplying the rest of the equation.