Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6 . 5 Make Box ( Individual Assignment ) Rules This is an Individual Assignment You must complete this assignment on your own. Do not

6.5 Make Box (Individual Assignment)
Rules
This is an Individual Assignment You must complete this assignment on your own.
Do not collaborate or share code with other students.
Do not copy and paste code from anywhere.
Especially from Chegg or Course Hero, or Stack Overflow, or from anywhere you found through a Google Search
Students copying or sharing code will be reported to the Dean's office for violating the Academic Integrity Policy and for disciplinary action.
Before you make a serious mistake and risk your grade and enrollment at ASU, please see your instructor for help.
Do not use any resources outside of those provided in the course materials.
Do not use any language features that have not been covered to this point in the course materials.
Do not use any language features that are explicitly forbidden in these instructions.
If you get stuck or need help, please use the help systems provided in this course a solution and sharing online or otherwise in any form is a violation of copyright laws and the ASU Academic Integrity Policy. All violations will be prosecuted
Required Skills Inventory
Use variables to name, store, and retrieve values
Use system. out.print to prompt the user for input
Use a Scanner to collect user input
Use loops to get the computer to repeat instructions
Use nested loops to construct an algorithm
Problem Description and Given Info
Write a java program that will collect the following 4 inputs from the user:
width of the box
2. height of the box
3. border character
4. 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
\table[[Enter width,:7
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions