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;
}
}
I don't get what you mean I'm sorry i can't answer you question
Answer:
Explanation:
Receive input, produce output, store information, process information
Answer: Eight
Explanation:
A class B address is 255.255.0.0. We need to borrow 8 bits from the network portion to have atleast 130 host per subnet.
11111111.00000000.00000000.00000000