Programming in C

(Barry) #1

164 Chapter 8 Working with Functions



  1. Modify Program 8.14 so that the user is reasked to type in the value of the base if
    an invalid base is entered.The modified program should continue to ask for the
    value of the base until a valid response is given.

  2. Modify Program 8.14 so that the user can convert any number of integers. Make
    provision for the program to terminate when a zero is typed in as the value of the
    number to be converted.

Free download pdf