0

I have a slight homework problem that is giving me some trouble. We have to write the algorithm for subtraction using different bases as a possibility in a program that uses calculator registers. The following is the provided prototype:

bool subtractRegisters( int registerX[], int registerY[], int registerZ[], int base );

The Y is taken from the X and placed in Z. I have completed correctly the whole subtraction algorithm involving the base calculation. I am just very confused on what is being returned as the boolean value. I much appreciate the help anyone familiar with this algorithm can provide.