public class RecursiveDriver { public static void main (String args []) { int result; System.out.println (" Here are the first 10 numbers in the sequence S computed recursively "); for (int i = 1; i <=10; i++) { result = RecursivePlay.recursiveS(i); System.out.print (result + " "); } System.out.println (); System.out.println (" Here are the first 10 numbers in the sequence S computed iteratibely "); for (int i = 1; i <=10; i++) { result = RecursivePlay.iterativeS(i); System.out.print (result + " "); } System.out.println (); System.out.println (" Here are the first 10 numbers in the sequence T computed recursively "); for (int i = 1; i <=10; i++) { result = RecursivePlay.recursiveT(i); System.out.print (result + " "); } System.out.println (); System.out.print ( " The result of multiplying 4 and 16 is "); result = RecursivePlay.recursiveMultiply (4, 16); System.out.println (result); System.out.print ( " The result of multiplying 7 and 9 is "); result = RecursivePlay.recursiveMultiply (7, 9); System.out.println (result); } // end main } // end RecursiveDriver