Question: # 22 to 25 Mitch is developing a program for the Acme Widget company. The company makes a certain number of widgets per day. The



# 22 to 25
Mitch is developing a program for the Acme Widget company. The company makes a certain number of widgets per day. The program must do the following: - Prompt the user to input the number of widgets made on three days - Change any negative input data to 0 - Calculate and display the average number of widgets made - Display the total number of widgets made Here is his program so far: The program is incomplete. Which choice below is needed in the program? Use a random number generator to simulate the umber of widgets created Use a switch statement for output Create a boolean condition to convert numeric data to string data Create a Scanner object to accept input from the user Charles wrote the following code snippet: int x=9; int y=3; if (x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
