Answer:
int[ ][ ] X = new int[5][5];
It can also be declared and initialized this way:
int[][] X = {
{1,2,3,6,8},
{4, 5, 6, 9},
{7,5,6,8,9},
{8,5,8,8,9},
{10,2,6,8,11},
};
Explanation:
Above is a declaration of a two-dimensional array that can hold 5*5=25 int values. A java program is given below:
public class JavaTwoD{
public static void main(String args[ ]) {
// creating the 5X5 array
int[ ][ ] X = new int[5][5];
// looping through the array to add elements
for (int i = 0; i < X.length; i++) {
for (int j = 0; j < X[i].length; j++) {
X[i][j] = i * j;
}
}
Answer:
Following is given the detailed solution of the given question.
I hope it will help you!
Explanation:
Answer: SETA program
Explanation:
The SETA program is basically stand for the security, education, training and awareness. It is basically used to reduce the accidental security which is break by the organization member such as employees, vendors and contractors.
The SETA program provided various benefits to the organization as it improve the behavior of the employees.It basically enhance the training and education program by focus and concentrate on the information security.
It can also inform he member of the organization about the report of violating many policies.
Answer:
The answer is described below
Explanation:
E safety means means protection of private information and personal safety when using the internet. E safety involve the protection of private information, passwords against identity theft or property theft. A persons private information, passwords can be gotten through the use of phishing or malwares.
Also, the use of internet has exposed people to cyber bullying(i.e abuse of an individual), stalking, engaging underage children into sexual relationships and sextortion.
E safety help protect children from harmful content and services as those listed.
Answer:
length = float(input("Enter length of the backyard in foot: "))
width = float(input("Enter width of the backyard in foot: "))
sod_price = float(input("Enter the price of sod per square foot: "))
fencing_price = float(input("Enter the price of fencing per foot: "))
area = length * width
perimeter = 2 * (length + width)
cost = sod_price * area + fencing_price * perimeter
print("The cost of landscaping is $" + str(cost))
Explanation:
*The code is in Python.
Ask the user to enter the length, width, sod_price, and fencing_price
Calculate the area and perimeter of the backyard
Calculate the cost, sod_price * area + fencing_price * perimeter
Print the cost