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
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
Math,
4 months ago
Social Sciences,
4 months ago
English,
4 months ago
Social Sciences,
8 months ago
English,
8 months ago
Biology,
11 months ago
Hindi,
11 months ago
History,
11 months ago