Computer Science, asked by phoenix578, 1 year ago

Write a program in java to print x raised to the power y without using mathematical function.

Answers

Answered by dhanrajaditya01
0

S.o.p(Math.pow(x,y));

or

S.o.p(x^y);

Answered by 0007elsa
0

Answer: System.out.println("pow(x,y)="+Math.pow(x,y));

Similar questions