when I type a integer this program should give me the binary for that integer printed. I have this so far
--------------------------------------------
#include <stdio.h>
main()

{

int i;
printf ("Please type in your number\n");
scanf ("%d", &i);

print_binary (i);

}
{
void print_binary (int n);
}
------------------------------------------------------------------

thanks in advance