Trow_Games 229 Posted April 4, 2015 Report Share Posted April 4, 2015 Bom, o título já diz tudo! Link to comment Share on other sites More sharing options...
KaleuManso 12 Posted April 4, 2015 Report Share Posted April 4, 2015 Um exemplo: Por favor, registre-se ou entre para visualizar isso. Link to comment Share on other sites More sharing options...
vitorrdgs 169 Posted April 4, 2015 Report Share Posted April 4, 2015 (edited) public boolean odd(int i){ if (i % 2 == 0) { //Se não for impar return false; } else { //Se for impar return true; } } Edited April 4, 2015 by Dual 1 Link to comment Share on other sites More sharing options...
??? 181 Posted April 4, 2015 Report Share Posted April 4, 2015 Por favor, registre-se ou entre para visualizar isso. 1 Link to comment Share on other sites More sharing options...
KroyBR 156 Posted April 4, 2015 Report Share Posted April 4, 2015 Sua dúvida foi marcada como [Resolvido] e movido à área de dúvidas resolvidas. Atenciosamente, Gamer's Board Link to comment Share on other sites More sharing options...
Question
Trow_Games 229
Bom, o título já diz tudo!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts