![]() |
Data Abstraction and Problem Solving with C++Walls and Mirrorsby Frank M. Carrano |
![]() |
c02p119a.cppGo to the documentation of this file.00001 00015 // Exercise 13 00016 00017 void displayOctal(int n) 00018 { 00019 if (n > 0) 00020 { if (n/8 > 0) 00021 displayOctal(n/8); 00022 cout << n % 8; 00023 } // end if 00024 } // end displayOctal |