TOPIC

Presentation error.

Lucio Lemos asked 8 months ago

Ta dando presentation error nesse problema. Aonde será que está o problema na saida? No meus testes rodou certinho

     System.out.println("Total: " + total + " cobaias");
     System.out.println("Total de coelhos: " + cc);
     System.out.println("Total de ratos: " + cr);
     System.out.println("Total de sapos: " + cs);
     System.out.printf("Percentual de coelhos: %.2f", percentualCoelhos);
     System.out.println(" %");
     System.out.printf("Percentual de ratos: %.2f", percentualRatos);
     System.out.println(" %");
     System.out.printf("Percentual de sapos: %.2f", percentualSapos);
     System.out.println(" %");

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.