Computer Science, asked by kashish12387, 1 year ago

Fill in the blank numbers from 1 to 5 in the following program that attempts to find 5n : class Power
{
int getresult ( __1__)
{
int pro = __2__ ; for(int i=1; i< = n; i++)
pro=pro* __3__; __4__ ;
}
void callerFunct ( )
{
int p;
__5__ ; System.out.print (p); }
}

Answers

Answered by srinitishsri
3

1-int n

2-1

3-i

4-n++

5- p=getresult(5)


Similar questions