Your problem is that you don't put anything in the String customerType. Just add the commented line.


import java.text.NumberFormat;
import java.util.*;

public class ValidatedInvoiceApp
{
...