String Formatting

  • + 0 comments

    We need to find the width of number (i.e. the greatest number) entered by user for finding each decimal, octal, haxadecimal and binary equivalent so, that every number gets right shifted accordingly in each iteration for all the formats, not just by calculating width in binary format.