I need a c++ program that is able to determine whether or not a given array is sorted in ascending or descending order. then after that the program should reverse the direction of order
Ahmed_217 0 Newbie Poster
rproffitt 2,662 "Nothing to see here." Moderator
Reverend Jim 4,968 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Ahmed_217 commented: well if its not sorted the output should say "array is not sorted" and if it is it should say that then reverse the direction +0
toneewa 81 Junior Poster in Training
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.