concatenate ints with cons chars

Some research on the sprintf() and/or snprintf() functions would pay dividends for you.