Using while loop:
#include<stdio.h>
void main()
1
int b, c=0,d;
printf("Enter the limit 1:
scanf(%d", &d):
for(b=1;b<=d;b++)
c=c+b;
printf ("Result=%d".c");
Answers
Answered by
0
Answer:
wasd
Explanation:
adwasdw
Answered by
1
Answer:
Similar questions