The program requires an input of an arbitrary large unsigned integer which is expressed as one string in base 10. The outputs is another string that expresses the integer in bas
The real challenging part is the "arbitrary large" unsigned integer.
Have you tried using GNU MP Bignum library?