Answer:
C. Infinite loop
Explanation:
num will be printed continuously since it will always be bigger than
(
is greater than
, satisfying the condition num > 0) making it an infinite loop since it will go on forever.
Hope this helps :)
Answer:
Option c is correct.
Example :
public class Subject
{
public static void main(String [] args)
{
int ar[]={5,4,6,7,8};
System.out.println("the number of array elements are: ",ar.length);
}
}
Explanation:
The above program is created in java language in which Subject is a class name.Inside Subject class , there is main method.
Inside the main method, there is An array named 'ar' which data type is an integer and we have assigned the value to this array.
in the next line, we are printing the total no. of the element in the array with the length function which displays the length of an array or variable.
The problem with the media giving equal air time to those who are <u>not worthy</u> about the effects of media violence on violent behaviour is that the public is then misled into thinking that the evidence for such effects is <u>strong and unbiased</u> than it actually is.
<u>Explanation:</u>
Media has an extensive impact on the public. Whatever they air reaches each and every citizen of the specified region through direct and indirect means.
The media should take precautions and make sure whatever they are showing is unbiased and supported by true facts, figures, and objective evidence.
Answer:
weightEarth = float(input("Enter weight on earth: "))
weightMoon = weightEarth/6
print("Weight on moon:", weightMoon)
Explanation:
You have to convert the string input into a float in order to do calculations with it.
Answer:
The expression is :
π[cd) + π(g,h) ],[π(e,f)+π(a,b)])
We will use foreign key and primary key