Computer Science, asked by rs1731377, 4 months ago

Z = √x + 3y² computer ​

Answers

Answered by Oreki
4

Java Expression:

Z = Math.sqrt(z) + 3 * Math.pow(y, 3);


Oreki: A correction it's supposed to be Math.pow(y, 2).
BrainlyProgrammer: Math.sqrt(x) not Math.sqrt(z)
Oreki: Yeah, that too, I think I might have rushed a little
Answered by jjaajjajaja36
0

Answer:

Import java.util.*;

public class xyz

{

public static void main()

{

Scanner sc= new scanner ( System.in);

int z= sc.nextInt();

int x=sc.nextInt();

int y=sc.nextInt();

z= (5*x*x*x+2*y)/(x+y);

System.out.println(“the required expression is”+z);

}

}

You can input data members via Buffer also

You can take the data type as Double also.

Explanation:

Bro I have answered 2 of your questions so please brainlist it I am in need of it

Similar questions