Question: Before attempting this project, be sure you have completed all of the reading assignments, non-graded exercises, discussions, and assignments to date. 1. Write Java code

 Before attempting this project, be sure you have completed all ofthe reading assignments, non-graded exercises, discussions, and assignments to date. 1. Write

Before attempting this project, be sure you have completed all of the reading assignments, non-graded exercises, discussions, and assignments to date. 1. Write Java code to prompt the user for the number of rows (e.g. 7) and output the right- side triangle pattern below using nested for-loops. 2. Write Java code to prompt the user for the starting number to print (e.g. 5) and output the rectangular pattern below using nested for-loops. Enter the value of n:5 55555555 544444445 543333345 543222345 543212345 543222345 543333345 544444445 555555555 Hint: Check out practice exercise 3 in the class materials. Make sure your Java program is using the recommended style such as: - Javadoc comment upfront with your name as author, date, and brief purpose of the program - Comments for variables and blocks of code to describe major functionality - Meaningful variable names and prompts - Identifiers are written in the upper CamelCase - Class name starts with upper case letter and variables in lower case letter - Constants are written in All Capitals - Use proper spacing and empty lines to make code human-readable Capture execution: You should capture and label screen captures associated with compiling your code and executing a couple of different inputs for each program. Submission requirements Deliverables include Java program(s) (.java) and a single Word (or PDF) document. You can code both exercises in a single java program or two separate ones. The Java and Word/PDF files should be named appropriately for the assignment (as indicated in the Submission Requirements document. The word (or PDF) document should include screen captures showing the successful compiling and running of each of the programs. Each screen capture should be properly labeled to indicate what the screen capture represents. Submit your files to the Assignment 4 submission area no later than the due date listed in the online classroom calendar

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!