Answer:
Following are statement is given below
int k=1,total=0; // variable declaration
while(k<50) // iterating the while loop
{
total=total+k*k;// calculating the square
k=k+1; // increments the value of k by 1
}
Explanation:
Following are the description of Statement.
- Declared a variable "total" and "k" of the "integer " type initialized the total to 0 and "k" to 1.
- Iterating the while loop for less then 50 .In this loop, we calculating the sum of square of first 50 number in the "total" variable .
- After that increment the value of "k" variable by 1 to execute the loop less then 50 .
Test.java
The classname and the filename need to match (case sensitive).
It is a power-saving mode for a computer.
It is a power-saving mode designed for laptops.
Answer:
The code is mentioned below.
Explanation:
This code is written in C.
Assuming that an array of 6 by 8 is already initialized and stored in a vector
![x[6][8]](https://tex.z-dn.net/?f=%20x%5B6%5D%5B8%5D%20)
which will be called or referred in program by:
![x [i] [j]](https://tex.z-dn.net/?f=%20x%20%5Bi%5D%20%5Bj%5D%20)
Alongwith the array the variables i j and max will be initialized as integers.
CODE:
int i,j,max;
max=0;
for(i=0;i<6;i++)
{
for(j=0;j<6;j++)
{
if(max>x[i][j])
max = x[i][j];
}
}
This code will check each and every entry of 6 by 8 array and place the largest value in max.
Answer:
Iajajkwbwiw whw
Explanation:
Bshsiwiqnqiaowpwownsbbsdk akakwjnwkwnwkwnwoqknanamamalamkakakskwkwkwnwmw.
I hope u liked my answer. Thank u