How do you write a code in C++ that gives you the difference between

2 numbers. For example: 1 and 9 the difference is 8.

Now I know you can say 9-1=8 but 1-9= -8. What I need is the difference

without going into minus.... I find this very hard and cant find how the

logic of the code should be or even how to write it....

How do you write the code for that. I am new to this so I need the

most basic code.

Thank You in Advance...

Ercan