Write a program that displays the result of

LANGUAGE: Java

CHALLENGE:

Write a program that displays the result of

{9.5\times 4.5 – 2.5\times 3 \over 45.5 – 3.5}45.5−3.59.5×4.5−2.5×3​

SOLUTION:

public static void main(String[] args){
    System.out.println((9.5*4.5 - 2.5*3)/(45.4 - 3.5));
}