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;
}
}
1. It helps to the development of our career.
2. Through the internet, we can know the facts which were happening all over the world
3. Computer can be use as a calculator too
4. We can store any kind of information.
<h3>Hope This Helps You ❤️</h3>
Answer:
in word, you go to the File tab on a document, then click print, or enter the keyboard shortcut: ctrl+p
to edit a downloaded document, open the document, and on the top of the document, click "enable editing"
Explanation:
hope this helps!
Answer:
not online stream i got it wrong
Explanation: