Question: In java please, The first program should print out a box, and the 2nd one should print out the outline of the box. Thanks so

In java please,

In java please, The first program should print out a box, and

The first program should print out a box, and the 2nd one should print out the outline of the box. Thanks so much, I'm really lost

Write a program called Box that prints a filled box of asterisks based on dimensions entered by the user. The program should ask the user for the length and width of a box and then print out a solid box of those dimensions. You should use nested for loops for this exercise. Example: Input the width of the box: 4 Input the height of the box: 5 Problem 5 Write a program called BoxOutline that prints the outline of a box using asterisks based on dimensions entered by the user. The program should ask the user for the length and width of a box and then print out a solid box of those dimensions. You should use nested for loops for this exercise Example Input the width of the box: 4 Input the height of the box: 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!