Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is for Java use at least 3 nested loops and follow the instruction given in the problem CIS 1068 Assignment 3 Draw a Pretty

This is for Java use at least 3 nested loops and follow the instruction given in the problem image text in transcribed
image text in transcribed
image text in transcribed
CIS 1068 Assignment 3 Draw a Pretty Picture Due: Monday, February 12 40 points This assignment wil provide you with practice using loops, nested loops and class constants Program Description You will write a Java class called AsciArt that must be saved into a file called AsciArt java You should submit this file through Canvas. 'ASCI stands for American Standard Code for Information Interchange, and is the original standard for converting binary numbers into English characters on the screen if you're interested, see In this assignment, your task is to draw something pretty using ASCIl art, subject to a tew constraints Please feel free to use your imagination as much (or as little) as you like You can draw something creative and orginal, or stick to the kinds of shapes we've been talking about in class. Your program doesnt 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 (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 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 thats 100 characters wide and 200 long when SIZE 10, and if we change sIZE to 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 i 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 srZE goes up, your pcture is larger and vice versa You shoukd properly indent your code and use whitespace to make your program readable. Give meaningful names to variables in your code. Follow Javas naming and capitalizaton standards Include a comment at the beginning of your program with basic information and a description of the program Extra Credit: The Linc (parking lot and stadium) In celebraton of the upcoming Super Bowfor a mamum 10 po nts of extra credit, you may ty to reproduce the ASCIl Art shown below of Lincoln Stadium, home of the Philadelphia Eagles Y constant for the SIZE, in Dr. Yates implementation, the sIzE value that produces the picture below is 4, and works for any size2. 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 credt points only if you duplicate the drawing EXACTLY (Nole: this is a fairly tricky figure to do right) The parking lot alone is worth a maximum of 2 points You should still include a class

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_2

Step: 3

blur-text-image_3

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

Database Internals A Deep Dive Into How Distributed Data Systems Work

Authors: Alex Petrov

1st Edition

1492040347, 978-1492040347

More Books

Students also viewed these Databases questions

Question

Find the Taylor series of f(x) = cos x at a = /3.

Answered: 1 week ago

Question

List the components of the strategic management process. page 77

Answered: 1 week ago