hello guys ı have a problem.problem is ı should do even and odd number checker after that ı will enter a variable first a[0]=5 .this checker will check a[0]=5 it is odd number right? if it is odd i will multiply by 3 and plus 1 all the time so 5*3+1=16. and result that we find it will be a[1] so a[1]=16 and again we r going on now 16 is even number if we have an even number we will divided by 2 all the time. 16:2=8 and a[2]=8 and we have even number again 8:2=4 so a[3]=4. and 4 is even 4:2=2 a[4]=2 and 2 is even 2:2=1 a[5]=1 and when ı find 1 program will stop so ı find a[5]=1 it stop.help pls ı tried many time but ı cant do it .thanks