Posts by Jaider Xavier Jr. • 11 points
1 post
-
1
votes5
answers8188
viewsA: Best factor calculation algorithm
Introducing Factoriais com for: long fat=1; String mult=""; for (int i=5; i>1; i--){ fat *=i; mult +=i+" x "; } System.out.print(mult+"1 = "+fat); See rotating on Ideone It is more recommended…