Hello, i can't give you the code but i think i can point you in the right direction.
You can only transmit 8 bits at a time, this makes a byte so to transmit a number equal to or larger than 10 you'll need to transmit two bytes (or two chars).
The number from 0 to 9 are represented in the ascii table with the numbers 48 to 57 (decimal) so that mean they are represented from 30 to 39 (hexadecimal) so you need to send through the usart 30h to send a zero, 31h to send an one 32h to send a two, and so on. to send 10 you'll need to send 31h and then 30h.
I hope this helps you understand the concept. with this knowledge you can then send anything you want, text numbers and other chars.
If i'm not wrong Ah is the carriage return, you'll need it to make numbers print in a new line.