arrays

how to shift negative integers first in array.
i can do it with nested loop but the condition is that i cant use it.
i have no idea how to do it without nested loop.
i am just a beginner. i really appreciate any kind of help.

Topic archived. No new replies allowed.