Answer:
Replace
<em>/* Your solution goes here */
</em>
with
<em>if (bagOunces < 2)
{
</em>
<em> System.out.print("Too Small");
</em>
<em>}
</em>
<em>else if(bagOunces > 10)
{
</em>
<em> System.out.print("Too Large");
</em>
<em>}
</em>
<em>else
{
</em>
<em> System.out.print((bagOunces * 6)+" seconds");
</em>
<em>}</em>
<em />
Explanation:
This line checks if bagOunces is less than 2;
<em>if (bagOunces < 2)
{
</em>
If yes, the string "Too Small" is printed
<em> System.out.print("Too Small");
</em>
<em>}
</em>
This line checks if bagOunces is greater than 10
<em>else if(bagOunces > 10)
{
</em>
If yes, the string "Too Large" is printed
<em> System.out.print("Too Large");
</em>
<em>}
</em>
The following condition is executed if the above conditions are false
<em>else
{
</em>
This multiplies bagOunces by 6 and adds seconds
<em> System.out.print((bagOunces * 6)+" seconds");
</em>
<em>}</em>