Posts by Nkrumah • 11 points
1 post
-
1
votes2
answers503
viewsA: Create function that calculates Java irreducible fraction
I used recursiveness to make the code a little more readable public static void reduzirFracao(int numerador,int denominador){ int menor_numero = numerador < denominador ? numerador : denominador;…