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;
}
}
<h3>ANSWER:The main reason why laptops are more expensive than desktops is in the development costs to create hardware that is compact enough and at the same time meeting an expected level of performance.</h3>
<h3>And it’s not just performance that is a big challenge. It is also keeping the system cool enough that stability is maintained under most common usage conditions</h3>
4251.04
The perimeter (260.8) over 4 is equal to each side length (65.2)
65.2^2 = 4251.04