Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double acuraciaTotal = 0.0;
- double erros = 0;
- erros = (1-acertos)/10;
- double acertosMedia = acertos/10;
- acuraciaTotal = 100.0 * (double) acertos / (double) (total);
- String saida = String.format("\n Media de acertos: %f\n Erro Padrao: %f\n Acuracia media: %2.3f%%\n",
- acertosMedia, erros, acuraciaTotal);
- System.out.print(saida);
- return saida;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement