Computer Science, asked by visheshagarwal153, 10 months ago

WAP to Print
P to the power q

The square root of P

P=64 Q=2

Java​

Answers

Answered by mn121
5

Answer:

public class program

{

public static void main(String args[])

{

int p=64,q=2;

double r1,r2;

r1= Math.pow(p,q);

r2= Math.sqrt(p);

System.out.println("Result 1: "+r1);

System.out.println("Result 2: "+r2);

}

}

********************************************************************************

Hope it helps you...

Please mark it as brainliest...

Answered by ash200616
2

Answer:

hi vishesh bro

I m here now to say u last gud bye

plz take care of urself

live ur life nonstop

good bye

plz say this to neel also

Similar questions