Question: Please show the output LAB #9-RECURSION MODIFY the following RECURSIVE function to be able to work for base 2 (binary), base 8 (octal) and base
LAB #9-RECURSION MODIFY the following RECURSIVE function to be able to work for base 2 (binary), base 8 (octal) and base 16 (hexadecimal). BE SURE TO MODIFY the comments to reflect the changes in the program. #include iostream> Using namespace std; void Convert(int num, int base); int main() int Num int base; base 2; cout > Num; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
