Answer:
Windows OS is software....
Answer:
zero ( 0) times.
Explanation:
In the code;
i = 2
while ( i > 2){
i = floor( i/2 );
z = z + 1;
}
the variable " i " is assigned the integer " 2 ", then the while statement loops with a condition of a greater " i " value and divides the value by two for every loop.
But in this case, the while statement is not executed as the value of " i " which is 2 is not greater than but equal to two.
Answer:
The variable used is elevenplus
Explanation:
Given
The above code segment
Required
The variable in the code
In Python, variables are used to take inputs, and they are used to storing values.
On the first line of the program, elevenplus is used to get input for age.
Up till the end of the program, no other variable is introduced.
<em>Hence, the variable in the program is </em><em>elevenplus</em>
Answer:
The complete method is as follows:
public List buildList(List L)
{
L.insert(30);
L.insert(23);
L.insert(19);
L.insert(4);
return L;
}
Explanation:
To complete the method, we make use of the insert() function.
This inserts elements of the list into list L. However, we have to start from the last element (i.e. in descending order)
So, the explanation is as follows:
L.insert(30); --- This inserts the last element
Continue inserting in descending order
<em> L.insert(23); </em>
<em> L.insert(19);
</em>
Until the first list element is inserted
L.insert(4);
This returns the filled list L
return L;
Answer:
food??
Explanation:
if you don't eat food, the acid produced in the stomach will break down the stomach walls instead of the food, giving you ulcers