combining two int's

Hi, i have a problem with C.I need to combine two int's... example: if the int's are 1 and 5, i need to combine them into 15(fifteen).Help,please.Sorry for the bad english :(.
If both integers are always in the range [ 0...9 ] then the integer "XY" where X and Y are two digits in the
range [ 0...9 ] can be formed by the expression 10 * X + Y.
10x
Topic archived. No new replies allowed.