Write a program in java to print x raised to the power y without using mathematical function.
Answers
Answered by
0
S.o.p(Math.pow(x,y));
or
S.o.p(x^y);
Answered by
0
Answer: System.out.println("pow(x,y)="+Math.pow(x,y));
Similar questions