#include<stdio.h>
int main()
{
int i=1,j=1;
for(;;)
{
if(i>5)
break;
else
j+=i;
printf("\n %d",j);
i+=j;
}
what is the output of this program sir? they have given the value of i as 5. please explain
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-54907.pdf
Comments
Leave a comment