write java expression for the statement √x+y/2x-y
Answers
Answered by
2
Answer
public class help
{
public static void main(String[]args)
{
double x=1; //if x=1
double y=2; //if y=2
double a=sqrt(x+y);
double ans=a/2x-y;
System.out.println((int)ans);
Explanation:
Similar questions
Math,
4 months ago
Chemistry,
4 months ago
English,
4 months ago
India Languages,
7 months ago
Business Studies,
7 months ago
Math,
1 year ago
English,
1 year ago
Math,
1 year ago