1 / 3

PRG 420 Week 3 Individual Coding a Program Containing Loops//tutorfortune.com

PRG 420 Week 3 Individual Coding a Program Containing Loops//tutorfortune.com<br><br>Click on below link to buy<br>https://tutorfortune.com/products/prg-420-week-3-individual-coding-a-program-containing-loops-1<br><br>PRG 420 Week 3 Individual Coding a Program Containing Loops<br> <br><br>Resource:<br><br> <br><br> <br><br> <br><br>Week Three Coding Assigment Zip File (starter code for this assignment that includes placeholders)<br> <br><br> <br><br>For this assignment, you will apply what you learned in analyzing for, while, and do-while loops by writing these statements yourself. The Javau2122 program you write should do the following:<br><br> <br><br>Display a pyramid of asterisks onscreen (i.e., a nested for loop)<br> <br><br> <br><br>Display the integers 10 to 1 in decreasing order, one number per line (i.e., a while/do-whlie loop)<br> <br><br> <br><br>Add 7 until the sum becomes greater than 157, at which point the program should display both the sum and the number of 7s added<br> <br><br> <br><br>Complete this assignment by doing the following:<br><br><br>Download and unzip the linked Week Three Coding Assigment Zip File.<br> <br><br>Add comments to the code by typing your name and the date in the multi-line comment header.<br> <br><br>Replace the following lines with Javau2122 code as directed in the file: <br><br><br> <br><br>LINE 1<br> <br> <br><br>LINE 2<br> <br><br> <br><br>LINE 3<br> <br>Comment each line of code you add to explain what you intend the code to do and why you chose each type of loop.<br> <br><br> <br><br>Test and modify your Javau2122 program until it runs without errors and produces the results as described above.<br> <br><br>Note: Refer to this weeku2019s analyzing code assignment if you need help.<br><br>Submit your Java application file using the Assignment Files tab.<br>PRG 420 Week 3 Individual Coding a Program Containing Loops<br>Click on below link to buy<br>https://tutorfortune.com/products/prg-420-week-3-individual-coding-a-program-containing-loops-1<br><br>

dettol
Download Presentation

PRG 420 Week 3 Individual Coding a Program Containing Loops//tutorfortune.com

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PRG 420 Week 3 Individual Coding a Program Containing Loops//tutorfortune.com Click on below link to buy https://tutorfortune.com/products/prg-420-week-3-individual-coding-a-program- containing-loops-1 P R G 4 2 0 We e k 3 I n d i v i d u a l C o d i n g a P r o g r a m C o n t a i n i n g L o o p s   R e s o u r c e :       We e k T h r e e C o d i n g A s s i g me n t Z i p F i l e ( s t a r t e r c o d e f o r t h i s a s s i g n me n t t h a t i n c l u d e s p l a c e h o l d e r s )     F o r t h i s a s s i g n me n t , y o u w i l l   a p p l y   w h a t y o u l e a r n e d i n a n a l y z i n g   f o r ,   w h i l e , a n d   d o - w h i l e   l o o p s b y w r i t i n g t h e s e s t a t e me n t s y o u r s e l f . T h e J a v a ™ p r o g r a m y o u w r i t e s h o u l d d o t h e f o l l o w i n g :   D i s p l a y a p y r a mi d o f a s t e r i s k s o n s c r e e n ( i . e . , a n e s t e d   f o r   l o o p )    

  2. D i s p l a y t h e i n t e g e r s 1 0 t o 1 i n d e c r e a s i n g o r d e r , o n e n u mb e r p e r l i n e ( i . e . , a   w h i l e / d o - w h l i e   l o o p )     A d d 7 u n t i l t h e s u m b e c o me s g r e a t e r t h a n 1 5 7 , a t w h i c h p o i n t t h e p r o g r a m s h o u l d d i s p l a y b o t h t h e s u m a n d t h e n u mb e r o f 7 s a d d e d     C o mp l e t e   t h i s a s s i g n me n t b y d o i n g t h e f o l l o w i n g : D o w n l o a d a n d u n z i p t h e l i n k e d We e k T h r e e C o d i n g A s s i g me n t Z i p F i l e .   A d d c o mme n t s t o t h e c o d e b y t y p i n g y o u r n a me a n d t h e d a t e i n t h e mu l t i - l i n e c o mme n t h e a d e r .   R e p l a c e t h e f o l l o w i n g l i n e s w i t h J a v a ™ c o d e a s d i r e c t e d i n t h e fi l e :     L I N E 1    

  3. L I N E 2     L I N E 3   C o mme n t e a c h l i n e o f c o d e y o u a d d t o e x p l a i n w h a t y o u i n t e n d t h e c o d e t o d o a n d w h y y o u c h o s e e a c h t y p e o f l o o p .     T e s t a n d mo d i f y y o u r J a v a ™ p r o g r a m u n t i l i t r u n s w i t h o u t e r r o r s a n d p r o d u c e s t h e r e s u l t s a s d e s c r i b e d a b o v e .   N o t e :   R e f e r t o t h i s w e e k ’ s a n a l y z i n g c o d e a s s i g n me n t i f y o u n e e d h e l p . S u b mi t   y o u r J a v a a p p l i c a t i o n fi l e u s i n g t h e A s s i g n me n t F i l e s t a b . P R G 4 2 0 We e k 3 I n d i v i d u a l C o d i n g a P r o g r a m C o n t a i n i n g L o o p s Click on below link to buy https://tutorfortune.com/products/prg-420-week-3-individual-coding-a-program- containing-loops-1

More Related