Question: CS 1101 Lab 1 - Variables & Operators Released on: Wednesday, September 5th Due on: Monday September 10, before beginning of class (2:55pm) How: submit
CS 1101 Lab 1 - Variables & Operators Released on: Wednesday, September 5th Due on: Monday September 10, before beginning of class (2:55pm) How: submit zip file to Google classroom What: A zip file named after you (LastNameFirstName-lab01.zip) containing a Java file as a solution to your problem Lab Description In this lab you will create a Java file, MyJavalab01.java and complete the three outlines objectives below. Objective 1 Print your name and student ID to the screen, in the format: YourLastName, YourFirstName, YourStudentID Objective 2 In the main method, create 5 random double values that range from 0-100. Print the 5 random double values to the screen in the format Random double: 34.85 Random double: 12.84 Random double: 94.21 Random double: 36.25 Random double: 50.00 Note: don't use the above values, create your own variables. Objective3 Calculate the average and print the average to the screer: Average: 45.63 What do you have to turn in? A Java file named MyJavaLab01.java inside a zip folder named LastNameFirstName-lab01.zip Criteria for grading
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
