Question: Section IIl Programming (20 POINTS) Program 1 (10 Points) The program in this section does not run compile successfully. Once the program compiles, compare the
Section IIl Programming (20 POINTS) Program 1 (10 Points) The program in this section does not run compile successfully. Once the program compiles, compare the output to the sample output, and eliminate any logic errors that exist. The be once the program's code is corrected properly. Fix all the complation errors, so that the program will sample output demonstrate what the program's output should Sample Output Enter sales person number (-1 to end): 1 Enter product number: 4 Enter sales amount: 1000 Enter sales person number (-1 to end): 2 Enter product number: 3 Enter sales amount: 1998 Enter sales person number (-1 to end): 3 Enter product number: 1 Enter sales amount: 2678 Enter sales person number (-1 to end): 4 Enter product number: 1 Enter sales amount: 1554 Enter sales person number (-1 to end): -1 Product Salesperson 1 Salesperson 2 Sale Salesperson 4 Total 1554.00 4232.00 0.00 0.00 0.00 1000.00 0.00 2678.00 0.00 0.00 0.00 0.00 025980000000 0.00 1998.00 0.00 0.00 0.001000.00 0.00 0.00 0.00 0.00 0.00 100.00 198.00 2678.00 Total 1554.00 Plz give me the entire code and the screenshot of the OUTPUT using JAVA
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
