Good afternoon, I'm a beginner in Java and I 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 the correct result.
double total = (90/112) * 100 ;
System.out.println(total);
and it returns me 0.0 in the console
How would I get the actual result back?