Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
List one variable declaration in the code, along with the line number where you found the declaration. Why did the programmer declare it as a...
Please re-enter your item ID. ");
85. keyboard.nextLine();
86. itemID = -1;
87. }
88.
89. } while (itemID != 0); //Check if exit condition has been met
90. if(totalAmount >= AMOUNT_TO_QUALIFY_FOR_DISCOUNT)
91. {
92. discountAmount = totalAmount * DISCOUNT_RATE;
93. }
94. else
95. {
96. discountAmount = 0;
97. }
98. System.out.println("");
99. System.out.println("You selected "+itemCounter+" items to purchase.");
100. System.out.println("Your sales total $"+totalAmount);
101. System.out.println("Your discount amount is $"+discountAmount);
102. System.out.println("Your sales tax is $"+totalTax);
103. System.out.println("The total amount due is $"+(totalAmount - discountAmount + totalTax));
104. System.out.println("");
105. }
106. }