0

Whats wrong with this equation

Scanner input = new Scanner (System.in); double a = 2, b= 1, c= 3, d= 4, r= 5, t= 2; double answer= 4/(3*(r+34))-9*(a+b*c)+(3+d*(2+a))/(a+b*d); System.out.println("answer: "+answer); double answer1= 5.5 * (Math.pow((r+2.5) , (2.5+t))); System.out.println("answer: "+answer1); } }

1st Mar 2022, 8:48 PM
أيوب
3 odpowiedzi
0
What is the error?
1st Mar 2022, 8:58 PM
Domonkos Gyömörey
Domonkos Gyömörey - avatar
0
Or what is this equation, because I dont know the what is the base equation
1st Mar 2022, 8:59 PM
Domonkos Gyömörey
Domonkos Gyömörey - avatar