Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

could someone help me with this assignment? thank you It can be of any image you like as long as the restriction still applies and

could someone help me with this assignment? thank you image text in transcribed
image text in transcribed
It can be of any image you like as long as the restriction still applies and requirement is meet. also as long as this is used in Java (Eclipes)
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. Your program doesn't even have to create something representational, but it could be something as advanced as the Statue of Liberty or Seattle's Space Needle. Here are the constraints on your program: Your program must use class constants (eg.. 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 nested loops. At least one of the three must be a doubly-nested loop (a for loop inside a for loop inside a for loop). Finally, your program should have a class constant called SIZE such that if the we change its value, the entire size of your drawing will change proportionately. For instance, if your program produces a drawing that's 100 characters wide and 200 long when SIZE = 10, and if we change Size o 5 (and make No other changes), it should produce something about 50 characters wide and 100 characters long. If we change the size to 20, it should produce something like 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). We're not going to be hung up on how exactly changes to SIZE should affect your drawing. The point is that if SIZE goes up, your picture is larger and vice versa. You should properly indent your code and use whitespace to make your program readable. Give meaningful names to variables in your code. Follow Java's naming and capitalization standards. Include a comment at the beginning of your program with basic information and a description of the program. Extra Credit The Lin k ing lot and stadium In celebration of the upcoming Super Bowl, for a maximum 10 points of extra credit, you may try to reproduce the ASCII Art shown below of Lincoln Stadium, home of the Philadelphia Eagles. You should still include a class constant for the size; in Dr. Yates' implementation, the SIZE value that produces the picture below is 4, and works for any size >= 2. You must include loops and nested loops to make this work correctly, you CANNOT simply include a separate printin statement for each line of the drawing. You will get the full extra credit points only if you duplicate the drawing EXACTLY. (Note: this is a fairly tricky figure to do right.) The parking lot alone is worth a maximum of 2 points You should properly indent your code and use whitespace to make your program readable. Give meaningful names to variables in your code. Follow Java's naming and capitalization standards. Include a comment at the beginning of your program with basic information and a description of the program. Extra Credit: The Line (parking lot and stadium In celebration of the upcoming Super Bowl, for a maximum 10 points of extra credit, you may try to reproduce the ASCII Art shown below of Lincoln Stadium, home of the Philadelphia Eagles. You should still include a class constant for the SIZE; in Dr. Yates' implementation, the SIZE value that produces the picture below is 4, and works for any size >= 2. You must include loops and nested loops to make this work correctly, you CANNOT simply include a separate printin statement for each line of the drawing. You will get the full extra credit points only if you duplicate the drawing EXACTLY. (Note: this is a fairly tricky figure to do right.) The parking lot alone is worth a maximum of 2 points

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 11G SQL

Authors: Joan Casteel

2nd Edition

1133947360, 978-1133947363

More Books

Students also viewed these Databases questions