Question: Hello, I am getting destroyed in my Java class right now, I need to learn how to do the assignment posted below, but am at

Hello, I am getting destroyed in my Java class right now, I need to learn how to do the assignment posted below, but am at a complete loss. If someone could help me with it, so that i could study the code and learn the concepts that would be greatly appreciated.

Thank You

You will write a Java class called AsciiArt that must be saved into a file called AsciiArt.java. 'ASCII' stands for American Standard Code for Information Interchange, and is the original standard for representing characters. If you're interested, see the Wikipedia ASCII article for more information, and this article describes ASCII art.

In this assignment, your task is to draw something pretty using ASCII art, subject to a few constraints. Please feel free to use your imagination as much (or as little) as you like. You can draw something creative and original, or stick to the kinds of shapes we've been talking about in class. One potentially fun way to do this is to produce stylized representations of well-known shapes, like the Statue of Liberty or Seattle's Space Needle.

Here are the constraints on your program:

Your program must use constants (e.g., static final int SIZE=10) in place of any numeric constants (except for 0 and 1), and in place of any character constants.

Your program must use at least 3 different loops.

In addition to the regular loops above, your program should use at least 3 nested loops.

Your program must use at least one doubly-nested loop (e.g., a for loop inside a for loop inside a for loop).

Finally, your program should have one constant called SIZE such that if the we change the value of this constant, the entire size of your drawing will change proportionately. For instance, if your program produces a drawing of 100 characters wide and 200 long when SIZE = 10, then if we change SIZE to 5 (and makes NO other changes), it should produce something 50 characters wide and 100 characters long. If we change the SIZE to 20, it should produce something 200 characters wide and 400 characters long, and so on. You may include a comment that specifies what ranges of values constitute valid values for this SIZE constant, but it should be a nontrivial range (that is, don't say that it only works for SIZE = 6, or something like that).

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!