Answer:
while (Num>=0) {
System.out.println("enter a another number");
Num = in.nextInt();
}
Explanation:
The complete java code prompting a user to enter a number until a negative number is entered is given below:
import java.util.Scanner;
public class num6 {
public static void main (String [] args) {
Scanner in = new Scanner(System.in);
System.out.println("enter a number");
int Num = in.nextInt();
while (Num>=0) {
System.out.println("enter a another number");
Num = in.nextInt();
}
System.out.println("Done.");
return;
}
}
<u>Organizations monitor, retain, and review employees emails:</u>
Today’s digital world most of business runs through employee emails. In an organization monitoring the email is most important event for security purpose and keep necessary backup so that it can be restore at any given point of time. If an organization is not monitor employee’s email system or server, then the organization is high risk.
As policy of an organization monitor employee’s email is must and watched carefully. Any important document is leaked or forwarded to wrong email address, then is high risk for an organization
As policy has to be drafted and signed by employee of an organization.
if(Expression to be tested) {
code to execute
} else if(Expression to be tested) {
code to execute
}
you can have as many else ifs as you want. But that's what it looks like.