Computer Science, asked by akash12345696, 3 months ago

write the Java expressions for the following:z=x³+y³-xy/z​

Answers

Answered by Rayeed0418
1

Answer:

Explanation:

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);

}

}

Similar questions