73. Using the declarations as in Problem 72, write the function void decToBase(int baseNum[], int decNum) to

Question:

73. Using the declarations as in Problem 72, write the function void decToBase(int baseNum[], int decNum)

to convert the nonnegative decimal integer to the unsigned number in the arbitrary base.

Write the function void putNumber(const int baseNum[])

to output the unsigned number in the arbitrary base. Use the uppercase letters of the alphabet for output if required by the value of base. You must be able to modify your program for operation with a different base by changing only the constant base. You must be able to modify the program for a different number of digits by changing only the constant numDigits.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Computer Systems

ISBN: 9781284079630

5th Edition

Authors: J Stanley Warford

Question Posted: