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>1. The value of x if the rate doubles when [A] is doubled is that </span><span>x = 1
</span><span>2. Then if the rate quadruples when [A] is doubled is that x= 2
Since x=1 when the rate doubles, so if it quadruples, it will be times 2.
So the solution to this is 1 times 2= 2
x=2</span>
Answer:
violet
Explanation:
When an electron interacts with visible light, energy is transferred from the photon to the electron.
The most accurate (lowest error) measurement of momentum (or speed) of an electron is obtained using a photon of high energy and low wavelength.
Violet light which lies at the high energy end of spectrum is most suitable.
Answer:
im scared of high school now after i saw this.
Explanation:
I don't want to learn that