
You are to write a program that can produces an ASCII Art picture.
You should use nested loops to reduce repeating code for specific characters on a given line.
You should use static methods to structure your solution in order to reduce repeating code for repetitious subfigures.
You are required to properly indent your code and will lose points if you make indentation mistakes.
You should begin by trying to reproduce the figure above exactly. Once you can reproduce this firecracker, you should introduce a class constant to your code to make your solution more flexible in order to allow firecrackers of different sizes to be produced.
Class Constant
this program can have varying output results based on the value assigned to a single class constant. This class constant determines the height of the firecracker. The firecracker shown above has a height of 5.
Define a class constant to make it possible to change a single number in one place in the program to have it produce a corresponding figure of a different size. When you submit your code, it does not matter what the value of your constant is set at, as I will change the constant to test your code for various output results.
On any given execution your program will produce just one version of this figure.
Examples are attached below!
The post write a program that can produces an ASCII Art picture appeared first on Homework Aider.
What Students Are Saying About Us
.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐"Honestly, I was afraid to send my paper to you, but you proved you are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"
.......... Customer ID: 11***| Rating: ⭐⭐⭐⭐⭐
"This company is the best there is. They saved me so many times, I cannot even keep count. Now I recommend it to all my friends, and none of them have complained about it. The writers here are excellent."
"Order a custom Paper on Similar Assignment at essayfount.com! No Plagiarism! Enjoy 20% Discount!"
