I need to create an array and tell if the values inside it are even or odd. I made the code this way:
<?php
$par_ou_impar = array(2,3,4,56,5,42,98,100);
for ($i = 0; $i < count($par_ou_impar); $i++){
if ($par_ou_impar % 2 == 0)...
asked on
31.01.2016 / 18:18