Computer Science, asked by jjha8465, 8 hours ago

A. There are 10 numbers as shown. Suppose that you have two buckets and you have to put the even numbers in one bucket and the odd numbers in another bucket. Write down the steps to separate the odd and even numbers as an iterative process, 31 24 55 68 87 3 46 18 79 10​

Answers

Answered by arqamsheikh424
1

Answer:

first we need to make two columns 1 even 2 odd

then write as follows

even -24,68,46,18,10

odd-31,55,87,3,79

Answered by radhikagu
1

Answer:

even bucket will consist 24 ,68 ,46 ,18, 10

odd bucket will consist 31 ,55, 87, 3, 79

Explanation:

as we know that even number are those who have 2, 4,6,8,0 on their last for eg 32 and 48

and odd are those who don't have even on their last

Similar questions