Computer Science, asked by saraaxyt, 3 months ago

1. Using while loop:
#include
void main( )
{
int b, c=0,d;
printf(“Enter the limit”);
scanf(“%d”, &d);
for(b=1;b<=d;b++)
c=c+b;
printf (“Result=%d”,c”);
}

Answers

Answered by PravinOfAVP
0

Answer:

answer will be 0

This is your answer

Similar questions