Answer:
B. adware
Explanation:
An adware refers to programs that show advertisements on your computer in different forms like a pop up or a banner display. This type of software install itself on your computer without your permission and it can also redirect your searches and gather information. According to this, the program on Gipsi's system is an adware.
import java.util.Scanner;
public class JavaExample {
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
System.out.print("Enter the first number: ");
double num1 = scan.nextDouble();
System.out.print("Enter the second number: ");
double num2 = scan.nextDouble();
System.out.print("Enter the third number: ");
double num3 = scan.nextDouble();
scan.close();
System.out.print("The average of entered numbers is:" + avr(num1, num2, num3) );
}
public static double avr(double a, double b, double c)
{
return (a + b + c) / 3;
}
}
<em>The </em><em>output </em><em>is </em><em>attached </em><em>to </em><em>the </em><em>answer. </em><em> </em><em>You </em><em>can </em><em>also </em><em>check </em><em>it.</em><em>. </em>
I believe it's seafloor spreading.
<span>move (an image or highlighted text) to another part of the screen using a mouse or similar device. :)) hope this help</span>
Answer:
The code to this question can be given as:
Code:
int n=5; //define an integer variable n and assign a positive value.
while(n > 0) //define while loop,
{
printf("*"); //print asterisks.
n --; //decrements value.
}
Explanation:
The description of the above code can be given as:
- In this code we define an integer variable that is "n" and assign a positive value that is "6".
- Then we define a while loop. It is an entry control loop which means it will check condition first then executes. In this loop, we use variable n and check condition that the value of n is greater than 0.
- In this loop, we print the asterisks and decrease the value of n. When the variable n value is 0. It will terminate the loop and print asterisks.