write a program to input two integers A and B find and print the greatest between a is to the power b and b raised to the power a values
Attachments:
Answers
Answered by
2
Answer:
class vishrut
{
p s v m(int a, int b)
{
if(Math.pow(a,b) >Math.pow(b,a))
S.O.Pln(a +"raised to"+ b +"is greater");
else
S.O.Pln(b +"raised to "+ a +"is greater");
}}
PLZ MARK AS BRAINLIEST
Similar questions
Biology,
5 months ago
Physics,
5 months ago
English,
11 months ago
Social Sciences,
11 months ago
Math,
1 year ago