public void someprocess()
int X[ ]= (2, 7.4.6, 12.9, 3, 15, 8, 10, 27, 20, 18);
int Z[ )= new int[50]:
int 0, p=12. count=0);
while(count < 13)
1
if (X[count] % 3==0)
Z[C++] = X[count):
else
Z[p--) = X[count]
count++;
Answers
Answered by
0
Answer:
your intialization is incorrect. as in 2nd line of code you have used variable as int and assigning floating numbers also.
Similar questions