Question: i need c++ program, question 1) write a function that prints the base 10 digits of n vertically to cout. for example: printVertically(2358) would print

i need c++ program, question 1) write a function that prints the base 10 digits of n vertically to cout. for example: printVertically(2358) would print 2 3 5 8 vertically (also you can't use loops/vectors/arrays) 2) write a recursive function to compute a^b (a to the power b) for binary search. please specify your answers with number 1 & 2.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!