Buggy code:
public class Checkout { static Scanner user = new Scanner ( System . in ) ; public static String company ( ) { } public static String name ( ) { } public static String number ( ) { } public static int expiryMonth ( ) { } public static int expiryYear ( ) { } public static int code ( ) { } public static void editPayment ( String type , String name , String number , int month , int year , int code ) { } public static String shippingStreet ( ) { } public static String shippingCity ( ) { } public static String shippingProvince ( ) { } public static String shippingPostal ( ) { } public static void editShipping ( String street , String city , String province , String postalCode , String cardType , String cardHolder , String cardNumber , int cardExpiryMonth , int cardExpiryYear , int cardSecurityCode ) throws IOException { } public static void shippingCost ( String street , String city , String province , String postalCode , String cardType , String cardHolder , String cardNumber , int cardExpiryMonth , int cardExpiryYear , int cardSecurityCode ) throws IOException { } public static void invoice ( double total , double subtotal , double shipping , double tax , int numItems , String street , String city , String province , String postalCode , String cardType , String cardHolder , String cardNumber , int cardExpiryMonth , int cardExpiryYear , int cardSecurityCode ) throws IOException { File receipt = new File ( "receipt.txt" ) ; PrintWriter order = new PrintWriter ( receipt ) ; Scanner fileReader = new Scanner ( receipt ) ; int receiptChoice = 0 ; System . out . println ( "Thank<seq2seq4repair_space>you<seq2seq4repair_space>for<seq2seq4repair_space>shopping<seq2seq4repair_space>with<seq2seq4repair_space>us<seq2seq4repair_space>at<seq2seq4repair_space>Tiger<seq2seq4repair_space>Direct!\nWe<seq2seq4repair_space>hope<seq2seq4repair_space>you<seq2seq4repair_space>had<seq2seq4repair_space>a<seq2seq4repair_space>pleasant<seq2seq4repair_space>visit<seq2seq4repair_space>with<seq2seq4repair_space>us!" ) ; <START_BUG> for ( int i = 0 ; i < numItems ; i ++ ) { <END_BUG> order . println ( ( ( ( ( ( ( ( ( ( "Item:<seq2seq4repair_space>" + ( TigerDirect . cart [ i ] . name ) ) + "\tID:<seq2seq4repair_space>" ) + ( TigerDirect . cart [ i ] . ID ) ) + "\tPrice<seq2seq4repair_space>" ) + ( TigerDirect . cart [ i ] . dollarPrice ) ) + "." ) + ( TigerDirect . cart [ i ] . centPrice ) ) + "\tQuantity:<seq2seq4repair_space>" ) + ( TigerDirect . cart [ i ] . quantity ) ) ) ; System . out . println ( ( ( ( ( ( ( ( ( ( "Item:<seq2seq4repair_space>" + ( TigerDirect . cart [ i ] . name ) ) + "\tID:<seq2seq4repair_space>" ) + ( TigerDirect . cart [ i ] . ID ) ) + "\tPrice<seq2seq4repair_space>" ) + ( TigerDirect . cart [ i ] . dollarPrice ) ) + "." ) + ( TigerDirect . cart [ i ] . centPrice ) ) + "\tQuantity:<seq2seq4repair_space>" ) + ( TigerDirect . cart [ i ] . quantity ) ) ) ; } order . println ( ( ( ( ( ( ( ( "Subtotal:<seq2seq4repair_space>" + subtotal ) + "\nShipping:<seq2seq4repair_space>" ) + shipping ) + "\nTax:<seq2seq4repair_space>" ) + tax ) + "\nTotal:<seq2seq4repair_space>" ) + total ) ) ; System . out . println ( ( ( ( ( ( ( ( "Subtotal:<seq2seq4repair_space>" + subtotal ) + "\nShipping:<seq2seq4repair_space>" ) + shipping ) + "\nTax:<seq2seq4repair_space>" ) + tax ) + "\nTotal:<seq2seq4repair_space>" ) + total ) ) ; order . println ( "---------------------------------------------------------" ) ; System . out . println ( "---------------------------------------------------------" ) ; order . println ( ( ( ( ( ( ( ( ( ( ( ( ( "Payment<seq2seq4repair_space>information:" + "\nCard<seq2seq4repair_space>company:<seq2seq4repair_space>" ) + cardType ) + "\nCard<seq2seq4repair_space>holder:<seq2seq4repair_space>" ) + cardHolder ) + "\nCard<seq2seq4repair_space>number:<seq2seq4repair_space>" ) + cardNumber ) + "\nCard<seq2seq4repair_space>expiry:<seq2seq4repair_space>" ) + cardExpiryMonth ) + "//" ) + cardExpiryYear ) + "\nCard<seq2seq4repair_space>security<seq2seq4repair_space>code:<seq2seq4repair_space>" ) + "***" ) ) ; System . out . println ( ( ( ( ( ( ( ( ( ( ( ( ( "Payment<seq2seq4repair_space>information:" + "\nCard<seq2seq4repair_space>company:<seq2seq4repair_space>" ) + cardType ) + "\nCard<seq2seq4repair_space>holder:<seq2seq4repair_space>" ) + cardHolder ) + "\nCard<seq2seq4repair_space>number:<seq2seq4repair_space>" ) + cardNumber ) + "\nCard<seq2seq4repair_space>expiry:<seq2seq4repair_space>" ) + cardExpiryMonth ) + "//" ) + cardExpiryYear ) + "\nCard<seq2seq4repair_space>security<seq2seq4repair_space>code:<seq2seq4repair_space>" ) + "***" ) ) ; order . println ( "---------------------------------------------------------" ) ; System . out . println ( "---------------------------------------------------------" ) ; order . println ( ( ( ( ( ( ( ( ( "Shipping<seq2seq4repair_space>information:" + "\n" ) + street ) + "\n" ) + city ) + ",<seq2seq4repair_space>" ) + province ) + "\n" ) + postalCode ) ) ; System . out . println ( ( ( ( ( ( ( ( ( "Shipping<seq2seq4repair_space>information:" + "\n" ) + street ) + "\n" ) + city ) + ",<seq2seq4repair_space>" ) + province ) + "\n" ) + postalCode ) ) ; order . println ( "\nThank<seq2seq4repair_space>you<seq2seq4repair_space>for<seq2seq4repair_space>shopping<seq2seq4repair_space>at<seq2seq4repair_space>Tiger<seq2seq4repair_space>Direct!\nHave<seq2seq4repair_space>a<seq2seq4repair_space>great<seq2seq4repair_space>day!" ) ; System . out . println ( "\nThank<seq2seq4repair_space>you<seq2seq4repair_space>for<seq2seq4repair_space>shopping<seq2seq4repair_space>at<seq2seq4repair_space>Tiger<seq2seq4repair_space>Direct!\nHave<seq2seq4repair_space>a<seq2seq4repair_space>great<seq2seq4repair_space>day!" ) ; } public static void removeStock ( ) throws FileNotFoundException { } public static void checkout ( CartRecord [ ] cart ) throws IOException { } No newline ; at end ; of file ; }

Fix:
for ( int i = 0 ; i < ( ( TigerDirect . numItemsInCart ) - 1 ) ; i ++ ) {