Computer Science, asked by ak5hu, 1 year ago

What is the missing line in the following program to bring an output of 625? #include<stdio.h>

int main()

{   int n,k,sum=0;
   printf("Enter the value :");
   scanf("%d[\n]",&n);//5
   for(k=0;k<n;k++)
    -------missing line------
   printf("Sum=%d", sum);
}


Answers

Answered by anujindal444
0
Answer in missing is 5 & 25

ak5hu: No, actually there's some part of code missing but only a single line code. have to fill it thr ..
Similar questions