Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with this java program. It can be any shapes. Thank you! CIS 1068 Assignment3 Draw a Pretty Picture Due: Monday, September 25

I need help with this java program. It can be any shapes. Thank you!

image text in transcribed

CIS 1068 Assignment3 Draw a Pretty Picture Due: Monday, September 25 40 points This assignment will provide you with practice using loops, nested loops and class constants Program Description You will write a Java class called AsciiArt that must be saved into a file called AsciiArt.java. You should submit this file through Blackboard. 'ASCII' 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 the Wikipedia ASCII article for more information 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 Statu berty or 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 these loops must be a doubly-nested loop (a for loop inside a for loop inside a for loop) * Finally, your program should have one class 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) 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 CIS 1068 Assignment3 Draw a Pretty Picture Due: Monday, September 25 40 points This assignment will provide you with practice using loops, nested loops and class constants Program Description You will write a Java class called AsciiArt that must be saved into a file called AsciiArt.java. You should submit this file through Blackboard. 'ASCII' 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 the Wikipedia ASCII article for more information 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 Statu berty or 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 these loops must be a doubly-nested loop (a for loop inside a for loop inside a for loop) * Finally, your program should have one class 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) 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

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

Next Generation Databases NoSQLand Big Data

Authors: Guy Harrison

1st Edition

1484213300, 978-1484213308

More Books

Students also viewed these Databases questions

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago