Fórum Identificar Par ou Impar #386703
20/09/2010
0
Luiz Junior
Curtir tópico
+ 0Posts
20/09/2010
Junior Miranda
if ((SeuParametro mod 2) = 0) then
Showmessage('Par')
else
Showmessage('Impar') ;
[]'s
Gostei + 0
20/09/2010
Fábio Cruz
If Odd(i) then
ShowMessage('Impar')
else
ShowMessage('Par');
Gostei + 0
20/09/2010
Deivison Melo
Gostei + 0
20/09/2010
Deivison Melo
ShowMessage('par');
else
ShowMessage('ímpar');
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)