https://www.grades4u.com/prg-420-new-
c424.php
PRG 420 Week 2 Individual Assignment Coding a Program Containing if-then and switch
https://www.grades4u.com/prg-420-new-
c424.php
PRG 420 Week 2 Individual Assignment Analyzing a Program Containing if-then and switch
https://www.grades4u.com/prg-420-new-
c424.php
Note: You do not have to make the improvements in the Java™ 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.
https://www.grades4u.com/prg-420-new-
c424.php
For this assignment, you will apply what you learned in analyzing a simple Java™ program by
writing your own Java™ program that creates and accesses an array of integers. The Java™
program you write should do the following:
2. Ask the user for an integer. Note: This code has already been written for you.
Note: The first element should be the integer input by the user. The second through tenth elements
should each be the previous element + 100. For example, if the user inputs 10, the first array value
should be 10, the second 110, the third 210, and so on
Display the contents of the array on the screen in ascending index order.
Complete this assignment by doing the following:
2. Read each line of the file carefully, including the detailed instructions at the top.
3. Add comments to the code by typing your name and the date in the multi-line comment
header.
4. Replace the following lines with Java™ code as directed in the file:
• LINE 1
• LINE 2
• LINE 3
• LINE 4
• LINE 5
5. Comment each line of code you add to explain what you intend the code to do.
6. Test and modify your Java™ program until it runs without errors and produces the results as
described above.
https://www.grades4u.com/prg-420-new-
c424.php
https://www.grades4u.com/prg-420-new-
c424.php
PRG 420 Week 5 Individual Assignment Coding a Program Containing Exception Handling
For this assignment, you will apply what you learned in analyzing a simple Java™ program by
writing your own Java™ program. The Java™ program you write should do the following:
1. Organize the code capable of throwing an exception of type ParseException as a try block
2. Include a catch block to handle a ParseException error thown by the try block.
3. Include a hard-coded error that results in a ParseException to prove that the code can catch
and handle this type of exception.
Files tab. Supporting Material: Week Five Coding Assignment Text File
PRG 420 Week 5 Individual Assignment Analyzing a Program Containing Exception Handling
https://www.grades4u.com/prg-420-new-
c424.php