Computer Science, asked by moonlitfeathers, 8 months ago

class predict
{
int fun (int a,int b)
{
int I ,p=1;
for (i=1;I<=b;I++)
p*=a;
return p;
}
public static void main()
{
predict on=new predict ();
System.out.println(on.fun(4,3));
}
}
please predict the output as fast as you can with appropriate dry run please​

Answers

Answered by anindyaadhikari13
2

Answer:

The output will be -

64

Explanation:

I hope this will help you..Please mark this answer as the brainliest.

10 thanks + follow = inbox ✌

Similar questions