Z = √x + 3y² computer
Answers
Answered by
4
Java Expression:
Z = Math.sqrt(z) + 3 * Math.pow(y, 3);
Oreki:
A correction it's supposed to be Math.pow(y, 2).
Answered by
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