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
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
Math,
8 months ago
Social Sciences,
8 months ago
Science,
8 months ago
Biology,
1 year ago
Biology,
1 year ago