Answer:
The answer to the given question is "3.6".
Explanation:
The printout description of the given java program can be given as:
In this program, the printout of the following code is 3.6. because in this program we define an array and assign elements on the array and calculate the sum of the elements but in the loop, we calculate the sum of rows value that is i [1][1]= 1.0, i [2][2]=2.5 and i [3][3]=0.1 then we calculate sum that is equal to 3.6.
That's why the answer to this question is "3.6".
If you use wiki for references, it could be useful
<u>If statements</u>- This statement is used to check the condition.
if(condition)
{
statement
}
If the condition is true,then statement will run,else not.
<u>Switch statement</u>-This statement is used for long conditions.It is a substitute for if,else conditions
switch(a)
{
case1: statement 1//if a=1
break;
case2: statement 2 //if a=2
break;
.....
default:statement//if a is not equal to any of the cases.
<u>Multiway if</u>-In this statement ,if elseif and else were there.
if(condition1)
{
statement 1
}
elseif(condition2)
{
statement 2
}
..............
else
{
statement n
}
<u>Nested loops</u>-This statements are used when we use if-else conditions in other if,else conditions.
if(condition 1)
{
if(condition 2)
{
if (condition 3)
{
statement 3
}
else
{
statement 4
}
}
]
<u>rand()</u>-This method is used for generating random number.The expression is
number=rand()%50;
It will generate a random number ranges between 0 to 50.
<u>srand()</u>-This method is used to set the starting value for random number series.
srand (time(NULL));
<u>seed()</u>-It is a method for initializing the same random series,it is passed in srand().
Answer:
If one or more of the shared sites go down, then there is a good chance that your site will go down as well.
Explanation:
Shared web hosting is a form of web hosting service whereby more than one websites are placed on a single web server that connects to the internet.
Though it is cheaper, it has various problems. And over time, it has been concluded that the major problem associated with shared web hosting is the security issue.
This implies that "If one or more of the shared sites go down, then there is a good chance that your site will go down as well."
Some other problems associated with Shared web hosting are poor value, less flexibility, none advanced features, slow service, less support.