20.09.2015 Views

Programming in C

Kochan - ProgramminginC

Kochan - ProgramminginC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

164 Chapter 8 Work<strong>in</strong>g with Functions<br />

15. Modify Program 8.14 so that the user is reasked to type <strong>in</strong> the value of the base if<br />

an <strong>in</strong>valid base is entered.The modified program should cont<strong>in</strong>ue to ask for the<br />

value of the base until a valid response is given.<br />

16. Modify Program 8.14 so that the user can convert any number of <strong>in</strong>tegers. Make<br />

provision for the program to term<strong>in</strong>ate when a zero is typed <strong>in</strong> as the value of the<br />

number to be converted.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!