hi!
actually,i want to write a program in C.the specifications are as below:-
1. Input should be a two digit number(say ab)
2. If a>b then Output -1
3. If a<b then Output +1
4. If a==b then Output 0
5. But we have not to use divide(/) or modulo(%) operator.
6. I think,by using bitwise operators,we may get our goal.But
HOW?
Please give logic behind it??????????????

regards

Rohit..