Answer:
0
Explanation:
In the lists, indexation starts from 0, because of that in if statement we compare item[0] which is 'male' and 'male', and then males is itterated within for loop.
Answer:
The output of the given code as follows:
Output:
Area is: 12.60676
Explanation:
In the given code some information is missing so, the correct code to this question can be described as follows:
Program:
public class Test //defining class
{
public static void main(String[] args)//defining the main method
{
double radius= 2; //defining double variable radius
final double PI= 3.15169; //defining double variable PI
double area = radius * radius * PI; //defining double variable area that calculates values
System.out.println("Area is: " + area); //print values
}
}
Explanation:
- In the given java code a class "Test" is defined, in which a double variable "radius" is defined, which holds a value, that is 2.
- In the next step, a double constant variable, that is PI is defined, that holds a value, that is "3.15169".
- Then another double variable area is defined, that calculates the area value, and prints its value.
Explanation:
1. How many computers do you want to connect or how big the network should be?
This would tell us what kind of a network need to be built. It can be LAN/MAN/WAN
2. The location where network needs to be built?
We have to check the geographic condition too before creating a network
3. What is the budget?
Based on the budget only, we can decide the wires to be used if require we can negotiate the budget so that we can create effective network
4. Will I get an additional resources to work?
This is essential to estimate the time that is required to complete the task.
5. When the project needs to be completed?
This is crucial because a business might be planned thereafter.
In terms of websites, there's a service called cloud flare which can prevent DDOS attacks in websites. Other applications you would have to look up. Hopefully this helps!