Answer:
class sum (
public static void sumofvalue (int m, int n, int p)
{
System.out.println(m);
System.out.println(n);
System.out.println(p);
int SumValue=m+n+p;
System.out.println("Average="+Sumvalue/3);
}
)
Public class XYZ
(
public static void main(String [] args)
{
sum ob=new sum();
int X=3;
int X=4;
int X=5;
ob.sumofvalue(X,Y,Z);
int X=7;
int X=8;
int X=10;
ob.sumofvalue(X,Y,Z);
}
)
Explanation:
The above program is made in Java, in which first we have printed value in a separate line. After that, the average value of those three values has been printed according to the question.
The processing of the program is given below in detail
* The first one class named 'sum' has been created which contains the function to print individual value and the average of those three values.
* In seconds main class named 'XYZ', the object of that the above class had been created which call the method of the above class to perform functions.
* In the main class values are assigned to variables X, Y, Z.
<span>Water is vital to the existence of plant life. Not only do plants use it to keep their cells from drying out, but they need water to move nutrients and raw materials throughout their systems to areas where photosynthesis and seed production take place. When water stress occurs, whether caused by drought or root impairment, many invisible processes are affected.</span>
When oxygen is found is peroxide, it has an oxidation number of -1.
The chemical formula of hydrogen peroxide is H2O2. We know that hydrogen always has +1 oxidation state until it forms metal hydrides. So in H2O2, the oxidation state ofhydrogen is +1.
Now, let oxidation state of oxygen be x. So,
2 * (+1) + 2*x = 0
2 + 2x = 0
2x = -2
x = -2 / 2
x = -1
Hence, the oxidation number of oxygen in peroxides is -1
A for sure sparrows are like birds but sparrows build holes in trees and birds do nests in trees so for sure is a
Answer:
<h3>The answer is 2.0 g/cm³</h3>
Explanation:
The density of a substance can be found by using the formula

From the question
mass = 4 g
volume = 2 cm³
We have

We have the final answer as
<h3>2.0 g/cm³</h3>
Hope this helps you