Question: Problem Description and Given Info Write a java program that will collect the following 4 inputs from the user: width of the bax height of

Problem Description and Given Info
Write a java program that will collect the following 4 inputs from the user:
width of the bax
height of the box
border character
interior character
Your program must collect the inputs in the order described above.
With these inputs, your program must print out a box made of the border and interior characters, and with the specified height and width. Here are some examples of what the program should look like when it runs with several different inputs:
Example 1
Enter width : 7
Enter height : 5
Enter border : x
Enter interior : 0
xxxxxxx
x00000x
xo0000x
xo0000x
XXXXXXX
Exam|
Enter width : 4
Enter height : 3
Enter border : +
Enter interior : *
 Problem Description and Given Info Write a java program that will

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!