/**
*  driver to exercise the recursive method printIt from PrintPound class
*  which prints n # symbols on a single line as long as n is >= 1
*
*  @author: Savitch
*/

import java.util.Scanner;
public class TestPrintPound
{
    public static void main (String  [] args)
	 {
	 
	      Scanner myScanner;
		   int number;
	      PrintPound myPound;
			
			myPound = new PrintPound();
			myScanner = new Scanner (System.in);
		   System.out.println ("Enter a nonnegative number:");
		   number = myScanner.nextInt();
			myPound.printIt(number);
	 }
}		