'Loops 1' diaporamas de présentation

Loops 1 - PowerPoint PPT Presentation



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

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

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

36 views • 3 slides


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

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

PRG 420 Week 3 Individual Analyzing a Program Containing Loops//tutorfortune.com Click on below link to buy https://tutorfortune.com/products/prg-420-week-3-individual-analyzing-a-program-containing-loops-1 PRG 420 Week 3 Individual Analyzing a Program Containing Loops Resource: Week Three Analyze Assignment Zip File For this assignment, you will be analyzing the Javau2122 code in the linked Week Three Analyze Assignment Zip File, and predicting the results. You will also examine both the code and the output for inconsistencies and clarity. This Javau2122 code includes examples of for, while, and do-while loops. Carefully read through the code line by line, then answer the following questions in a Microsoftu00ae Word document: What is the output of the program as it is written? What improvement(s) could be made to this code to make the output clearer or more accurate, or to make the code easier to maintain? Note: You do not have to make the improvements in the Javau2122 program, although you certainly may. For this assignment, simply describe the things you see that would need to be improved to elevate the code and output to a more professional level. For the code, consider variable names and hardcoding. For the output, consider formatting/punctuation, repetition, accuracy of information, and wording. Submit your completed Word document using the Assignment Files tab. PRG 420 Week 3 Individual Analyzing a Program Containing Loops Click on below link to buy https://tutorfortune.com/products/prg-420-week-3-individual-analyzing-a-program-containing-loops-1

24 views • 2 slides


View Loops 1 PowerPoint (PPT) presentations online in SlideServe. SlideServe has a very huge collection of Loops 1 PowerPoint presentations. You can view or download Loops 1 presentations for your school assignment or business presentation. Browse for the presentations on every topic that you want.