Question: use java Use the following Coding Guidelines: When declaring a variable, you usually want to initialize it. Use white space to Use comments after the
Use the following Coding Guidelines: When declaring a variable, you usually want to initialize it. Use white space to Use comments after the ending brace of classes, methods, and blocks to identify to which block it belongs. e your program more readable. Assignments Documentation: At the beginning of each programming assignment you must have a comment block with the following information: //AUTHOR: /FILENAME // SPECIFICATION: // NSTRUCTIONS: (Put your name here) Lab6.java This program is for practicing arrays Read the following code skeleton and add your own code according to the comments. Ask your TA or your class- mates for help and/or clarification. When you see /--that is where you need to add code. LAB LETTER:(Put your lab letter) Getting Started Create a class called Lab8. Use the same setup for setting up your class and main method as you did for the previous assignments. Be sure to name your file Lab8.java. Hints Please replace //..> with the correct program to finish the task according to the corresponding comment. Please replace ??? with the correct program to enable the program to run as required. AUTHOR: // FILENAME // SPECIFICATION: (Put your name here) Lab8.java This program is for practicing arrays /7INSTRUCTIONS Read the following code skeleton and add your own code according to the comments. Ask your TA or your class- mates for help and/or clarification. When you see /--> that is where you need to add code // LAB LETTER: (Put your lab letter) //import Scanner class import java.util.Scanner; //declare the class Lab6 public class Lab8 //declare the main method public static void main(String args)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
