1: // Created by Frank M. Carrano and Tim Henry. 2: // Copyright (c) 2013 __Pearson Education__. All rights reserved. 4: void displayOctal(int n) 5: { 6: if (n > 0) 7: { 8: if (n / 8 > 0) 9: displayOctal(n / 8); 10: cout << n % 8; 11: } // end if 12: } // end displayOctal