|
I think what you have replaced 9*9*9*9*9 with is just fine. I am using gdb as my compiler. Also, i dont know if this might help but there are other requirements as well.
Requirements are:
The input of the program can be assumed to be a text file with proper base 7 numbers, one on each line. You can assume each number starts on a line without leading spaces, and ends on a line without trailing spaces. In other words, each number begins on column 0, and is terminated by the linefeed (newline) character (ASCII 10).
The output of the program should be fixed width base 9 numbers. Each number should have exactly 11 digits (including leading zeros).
|