write the Java expressions for the following:z=x³+y³-xy/z
Answers
Answered by
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
World Languages,
2 months ago
English,
5 months ago
Math,
11 months ago
Science,
11 months ago
English,
11 months ago