Hi guys (and gals)
I'm pretty new to c++ and programming, but I am keen as hell
I bought a boot to start learning by Bjarne Stroustrup - Programming - Principles and Practice using C++
I am up to Chapter 3 and doing the 'exercises', only I am stuck on one of them and I do not want to move on until I have solved it. It seems like it should be really easy, only I can not get my head around it.
If somebody could give me a push in the right direction on how to solve it, I would be very thankful.
This is it:
Write a program that prompts the user to enter three integer values and then outputs the values in numerical sequence separated by commas. So, if the user enters the values 10 4 6, the output should be 4, 6, 10. If two values are the same, they should just be ordered together. So, the input 4 5 4 should give 4, 4, 5.
I am flying through the book pretty quickly, but I can not get my head around this one (I know it will be simple as hell to you guys)
Thank you in advance.