int main(){ int i = 1, s = 0; do { s = s + i; i++; } while (i <= 100); printf(“%d”, s); return 0;}
A program I wrote to calculate the sum of natural numbers.
Well, it took about 1 hour. I can’t help it; I am a C enthusiast, but this is very significant for me. I will definitely enjoy absorbing knowledge of the C language in the future. Yay o(*≧▽≦)ツ!!!