Answer:
3,1,2,1
Explanation:
just finished doing the assignment girly
c is the anwer of question
In the program While loop is used. In the while loop it divides the userNum by 2 in each iteration and prints the value of userNum. The inputs and corresponding outputs are written in the explanation.
<u>Explanation</u>:
In the while loop it divides the userNum by 2 in each iteration and prints the value of userNum.
import java.util.Scanner;
public class NonNegativeLooper
public static void main (String [] args)
Scanner scnr = new Scanner(System.in);
//initialize the userNum with 9
int userNum = 9;
//Repeat the loop until the userNum is not negative
while (userNum>=0)
System.out.println(Body);
//Prompt the user to enter the usrNum again
userNum = scnr.nextInt();
System.out.println(Done.);
return;
Answer:
he needs it to be a run-on sentence
Explanation:
Run on sentence is basically 2 sentences combined without a period
HTML(Hyper Text Markup Language) is the code that a user writes in order to create a document to display on the web.
Explanation:
HTML is a markup language used to create hyper texts that are platform-independent. Mark up feature can be linked to other web pages, e-mail, multimedia, documents, databases etc.
Tags are used in to identify each section like head, body, title, paragraphs, tables, images etc.