Computer Science, asked by ayush191170, 9 months ago

Predict the output :

 void fact(int a, int b)

{

int p=1;

for(int j=1; j<=b; j++)

{

p=p*a;

System.out.println(p);

If fact(5,3) ​

Answers

Answered by agarwalmeenakshi886
1

Answer:

I ho gai the you can and the family a very happy anniversary in the office today so I can you on your way to you

Answered by shashankshekhar1426
0
Here the output will be 125.
Similar questions