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.
The two ways to measure the sand in a sand castle are by counting the number of pails of sand used to build the castle and by determining the mass of the sand used in building the castle. The first method makes use of the volume of the pail to determine the amount of sand while the second method is a more quantitative way.<span />
Yes, an OH group from ethanol can form a hydrogen bond to the ether O atom in the same way as it can do so with the single-bonded O atom in the ester.
The O atom in the carbonyl group of the ester can also form H-bonds with ethanol.
Na only because cation is a positive ion whole cl is a negative ion in anion
Answer:
negative but dont quote me on that
Explanation: