CSS 142 University of Washington Loops and Rockets Java Project Hello i have added the file that you need to complete the assignment please review and ask

CSS 142 University of Washington Loops and Rockets Java Project Hello i have added the file that you need to complete the assignment please review and ask any question.

Here is a final checklist of items to run through before you submit your work:

Don't use plagiarized sources. Get Your Custom Essay on
CSS 142 University of Washington Loops and Rockets Java Project Hello i have added the file that you need to complete the assignment please review and ask
Get an essay WRITTEN FOR YOU, Plagiarism free, and by an EXPERT! Just from $10/Page
Order Essay

You should be turning-in only one file (your Java source code file).
Compile and execute your code before turning in your .java file. If it doesn’t work, something is wrong.
Check the extension of the file you are submitting. There is only one file type you are allowed to submit.
Do your filenames follow the correct convention as described in the assignment.
Break up this program into smaller functions and call those.
Remember you can call a function inside of a loop.
Pay extra attention to code formatting, style, comments, and basic programming practices learned so far. CSS142: Homework: Loops – Rockets
Homework: Loops — Rockets
CSS 142: Computer Programming I
Summary
Using your knowledge of loops and boolean expression, you will create a program that will exactly
reproduce the output as in the following. The various subfigures in the middle of this output have a
height of 3. These subfigures have the property that their height determines their width, so only one
size is used. The height also determines the height of the nose of the rocket and the rocket thrust.
You are to use 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 (note: the code for the class
constant HEIGHT is given in the following example). Design static methods for your solution so that your
program will avoid significant redundancy. For example, the method displayCone() would display the
rocket nose and also the rocket thrust. Structure your program in such a way that the methods match
the structure of the output itself (i.e. method displayCone() displays the rocket’s cone structure.)
Note that the backslash is a control character so to display one backslash, you must use two of them. For
example, System.out.println(“\/”); would display: /
Note: Your program’s methods need to use “for” or “while” loops to complete the given task with
different HEIGHT values.
Sample Code and the display on the next page.
1
CSS142: Homework: Loops – Rockets
public class LastFirstHWLoops {
public static final int HEIGHT = 3;
}
// height of rocket internal subfigures
public static void main(String[] args) {
displayCone();
// display rocket nose

displayCone();
// display rocket thrust
}

/**
//**\
///**\
////**\\
/////**\\
+=*=*=*=*=*=*+
|../…./..|
|.//..//.|
|//////|
|//////|
|.//..//.|
|../…./..|
+=*=*=*=*=*=*+
|//////|
|.//..//.|
|../…./..|
|../…./..|
|.//..//.|
|//////|
+=*=*=*=*=*=*+
/**
//**\
///**\
////**\\
/////**\\
On any given execution, your program will produce just one
version of this figure, but if the constant HEIGHT is changed,
your program produces a figure of a different size. For example,
when HEIGHT is set to 6, the figure would look like the one on the
right:
2
/**
//**\
///**\
////**\\
/////**\\
//////**\\\
///////**\\\
////////**\\\\
/////////**\\\\
//////////**\\\\\
///////////**\\\\\
+=*=*=*=*=*=*=*=*=*=*=*=*+
|…../………./…..|
|….//……..//….|
|…///……///…|
|..////….////..|
|./////../////.|
|////////////|
|////////////|
|./////../////.|
|..////….////..|
|…///……///…|
|….//……..//….|
|…../………./…..|
+=*=*=*=*=*=*=*=*=*=*=*=*+
|////////////|
|./////../////.|
|..////….////..|
|…///……///…|
|….//……..//….|
|…../………./…..|
|…../………./…..|
|….//……..//….|
|…///……///…|
|..////….////..|
|./////../////.|
|////////////|
+=*=*=*=*=*=*=*=*=*=*=*=*+
/**
//**\
///**\
////**\\
/////**\\
//////**\\\
///////**\\\
////////**\\\\
/////////**\\\\
//////////**\\\\\
///////////**\\\\\
CSS142: Homework: Loops – Rockets
Work Items
Write the program described below. Submit the single Java file (i.e., “.java” text file) that contains your
program:
(a) Please submit only a single Java file via Canvas. Do not email your instructor your work.
(b) Name your Java file LastFirstHWLoops.java, where you put in your own last name and first name for
“Last” and “First”. You must name your file this way.
(c) Recall that this means the name of the public class in your code file must be named LastFirst HW
Loops (again, substituting your own name as appropriate).
About this Document
Course taught at the University of Washington Bothell. Assignment by Michael Stiber, Spring 2012. Some
text by Rob Nash is added in. Additional edits by Johnny Lin, September 2014 and Jeffrey Kim, Summer
2019.
3

Purchase answer to see full
attachment

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.