3
Good afternoon, I am beginner in java and need to do the following calculation in the language
For example: (8/7) *100 = 114%
(4/7)*100 = 57,14%
(90/112)*100 = 80,35%
But the way I’m developing it does not return me the correct result
double total = (90/112) * 100 ;
System.out.println(total);
and it returns me 0.0 on the console
how would I make him return me the real result?