0

Write a progarm to find odd numbers in array without use any predefined function

$arr=array(1,2,3,4)like to find odd number and display

16th Jan 2018, 3:15 PM
Kavi Jayaseelan
4 Réponses
0
for each n in array{ if(!(n%2==0)) print n }
16th Jan 2018, 5:15 PM
Jeremy
Jeremy - avatar
0
without using any predefined function
16th Jan 2018, 5:17 PM
Kavi Jayaseelan
0
i didnt
16th Jan 2018, 5:18 PM
Jeremy
Jeremy - avatar
0
any waytq u so much
16th Jan 2018, 5:20 PM
Kavi Jayaseelan