Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need help with this in Java, please: I have a business that sells quilts of the same patter, but difference sizes depending on the customers
Need help with this in Java, please: I have a business that sells quilts of the same patter, but difference sizes depending on the customers needs...
The Task: I have a business that sells quilts of the same pattern, but different sizes depending on the customers needs. The quilts I sell look like this. This is the original size quilt: #===== ======# | | | . =# 1 However, sometimes my customers want it to be twice (2x) the original size, so it would look like this: #=== =# ==# #==== | | . | | ====# =# Sometimes my customers want it to be three times (3x) the original size, so it would look like this: (see next page) ================ ========= #=============== | ========# #================# #================##=== 1 A customer is able to request a quilt with this pattern as big as they want. For example, if a customer requests a quilt of size 7 (7x) it would look like this: ============##================##================##================##================##================##================ 1 ..> sil What You Need to Do: Your job is to implement a program that prints this quilt to the given size (from the customer). I have left a few examples below: Welcome to Tina's Quilts! I'm glad you're here! What size quilt would you like? 1 Sure! Coming right up... #== #== Welcome to Tina's Quilts! I'm glad you're here! What size quilt would you like? 3 Sure! Coming right up... ==##===== =====##================# | ====##========= ==##= =======# Note: The customer should be able to put any size in your program (EX: 100). HINTS: A table for the top half: Compute spaces and dots expressions from line number line spaces line * -2 + 8 dots 4 * line - 4 1 6 6 0 0 # 2 4 4 4 4 M NI 2 2 8 8 4 ol 0 12 12 1 .... 1 1. | 1 ........ .... # 1Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started