cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Sorting integers help
Sorting integers help
Sep 8, 2015 at 1:53am UTC
Zyety
(15)
Another question of the day. A problem where it ask users to input 3 integer and sort it in ascending orders. How do you do this? in its simplest form.
Sep 8, 2015 at 2:27am UTC
liuyang
(217)
Do you know how to ask user to input 3 integers?
Do you know how to sort an existing array?
You can just breakdown the problem, and solve them one by one.
Last edited on
Sep 8, 2015 at 2:27am UTC
Sep 8, 2015 at 7:26am UTC
Peter87
(11234)
The easiest way to sort is to use std::sort.
http://www.cplusplus.com/reference/algorithm/sort/
Last edited on
Sep 8, 2015 at 7:26am UTC
Topic archived. No new replies allowed.