Write a program to sort elements of the array in this order. The even indexed elements should be in descending order and odd indexed elements must be in ascending order.
Muhammad_263 0 Newbie Poster
Reverend Jim 5,179 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.