Computer Science, asked by arjunsingho3675, 5 hours ago

Write a program to enter any three real number and calculate X where: X=product of integer portion/sum of decimal portion

Answers

Answered by s16497aDHAIRIYA2561
3

Answer:

class ques1

{

public static void main(String args[])

{

int a = 2,b = 3,c = 4;

double r;

double x = 6.5*Math.pow((a+b),2);

double y = 7.3*Math.sqrt(b+c);

double z = Math.sqrt(a+c);

r = (x-y)/z;

System.out.println ("The answer is : "+r);

}

Explanation:

thanks my answer

Similar questions