Implement the number system conversion with the stack c language