#include <stdio.h>
int main(){
int counter = 100;
unsigned long int sum = 0;
for (int i = 1; i <= counter; i++) {
sum = sum + i;
}
printf("Required sum is: %lu/n", sum);
return(0);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266582.html