Fig01_04 - { if( n >= 10 ) printOut( n / 10 );...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
public class Fig01_04 { public static void printDigit( int n ) { System.out.print( n ); } /* START: Fig01_04.txt */ public static void printOut( int n ) /* Print nonnegative n */
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { if( n >= 10 ) printOut( n / 10 ); printDigit( n % 10 ); } /* END */ / public static void main( String [ ] args ) { printOut( 1369 ); System.out.println( ); } }...
View Full Document

Ask a homework question - tutors are online