Question: Start Declare an array of integers, named userRating, with size NUM _ ELEMS. Then, read each element of userRating from input. Ex: If the input

Start
Declare an array of integers, named userRating, with size NUM_ELEMS. Then, read each element of userRating from input.
Ex: If the input is 8434,82,30,6175, then the output is:
Ratings: 84348230,6175
import java.util.Scanner;
public class RatingList {
public static void main(String[] args){
Scanner scnir = new Scanner(
System.in);
final int NUM_ELEMS =6;
int i;
V* Your code goes here */
System.out.print("Ratings: ");
for userRating. length; ++i){
}
System.out.print(userRating[i]+"");
System.out.println();
}
}
2
3
Feedback?
 Start Declare an array of integers, named userRating, with size NUM_ELEMS.

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!