Question: CHALLENGE ACTIVITY 4 . 3 . 4 : While loops with numbers. 5 2 8 0 4 0 3 4 8 0 5 2 8

CHALLENGE
ACTIVITY
4.3.4: While loops with numbers.
5280403480528qx3zqy7
Use schr.nextInt() to read integers from input until -90 is read. For each remaining integer read before -90 :
If the integer is greater than or equal to 100, output "Met quota".
Otherwise, output "Low performance".
End each output with a newline.
Ex: If the input is 10597102-90, then the output is:
Met quota
Low performance
Met quota
Note: The sentinel value is -90.
import java.util.Scanner;
public class Testscore {
public static void main(String[] args){
Scanner scnr = new Scanner(
System.in);
Y* Your code goes here */
}
}
 CHALLENGE ACTIVITY 4.3.4: While loops with numbers. 5280403480528qx3zqy7 Use schr.nextInt() to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem you need to implement a Java program that reads integers from the user input u... View full answer

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!