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.
Answer:
632.32 mmHg
Explanation:
Millimetre mercury:
It is the monometric unit of pressure. It is define as "The pressure exerted by the column pf mercury at the height of 1 millimetre.
It is represented as mmHg.
It can also be written as mm Hg.
Atmosphere (atm):
It is barometric pressure, define as "The force exerted by atmospheric column on per unit area".
It is written as "atm".
Conversion of atm to mmHg:
0.832 atm × 760 mmHg / 1 atm
632.32 mmHg
Answer:
10grams
Explanation:
So it weighs 236 grams added with 25 grams. So it now weighs 261 grams so 10 grams of sugar remains in it.