Hey guys, I just started C++, and I was wondering what would be a basic way to find the lowest and highest number when the user inputs 3 different integers. I know that in Visual Basic when you used an if statement you could do something like:

If ( int1 < int2 ) and ( int1 < int3 ) then

But in C++ I know that I can't use THEN, and I can't compare more than 2 numbers. Any idea how to do that with just a basic <iostream> ?

Crap, now I have another question. I want to come up with a script where the user inputs a 5-digit number, seperates the number into it's individual digits and prints the digits seperated from one another by 3 spaces each. Apparently the hint my book gives is, "Use the integer division and modulous operators." and it gives an example of what it should look like, if the user inputed 42339, then the program should print:

4 2 3 3 9

I think that the "integer division and modulous operators" have me confused. What do they have to do with it? Also, just overall I think, WHAT THE HECK? I think that being gone and majorly sick, didn't help me at all...