Answer to Question 17-2

void WriteInBinary(const int n)
{
  if(n <= 1)
  {
    printf("%i", n);
  }
  else
  {
    WriteInBinary(n/2);
    printf("%i", n%2);
  }
}