$*`eupV[j'RxyabpDivideby truncatingb. accumulated accumulated.drightlbdigitinfaildecbin lIF SELECTdecfailENDoctbinoctall$ Conversion from Base 8 to Base 102 Written by Michael L. Jones, M. S., Spring 20028 Suffolk County Community College, Brentwood, New YorkJ Plan of attack: Input a number in base 8. Check that the number is inI fact a binary number. The input number will be entered as a string tonJ allow for large numbers and for portability to other bases. Start withN the first bit, multiply by 8, add the next bit, multiply by 8 again, and so6 on until the last bit is added. Output the result.smWhat is the octal number  Allows for large numbersd  Initalize decimal number - &Get number of digits in octal number d V dx  Sentinel value$Set ith digit to its decimal value  d3m0"]td   d3m1"]d   d3m2"]d   d3m3"]d   d3m4"]d   d3m5"]d   d3m6"]@d   d3m7"]bd 6If the character is not an octal digit, n remains -1 dx][d! p  'Multiply by 8 and add new digit value fmThe decimal equivalent of m is" m."N m is not an octal number. <d4