A program where u have a 10 input number and enbles u to choose wether the output is in asecnding or descending order. Thanks in advance!!
abelingaw 69
Posting Whiz in Training
Recommended Answers
Jump to PostHmm..
What have you done so far?
Jump to PostUse std::vector<int> and std::sort() with the appropriate predicate depending on the desired order
All 7 Replies
Alex Edwards 321
Posting Shark
jencas
William Hemsworth 1,339
Posting Virtuoso
Alex Edwards 321
Posting Shark
abelingaw 69
Posting Whiz in Training
TheKebab 0
Newbie Poster
rati 0
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.