Write in the term of Java Expression? int z= √√x+3y²
Answers
Answered by
1
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.
Similar questions