hile(i <= 100) {
		sum = sum+i;
		i++;
	}

	printf("sum(1+..+100) = %d\n", sum);
	return 0;
}
</pre>

<pre id="code_fibonacci">
// Copyright 2016 ChaiShushan &lt;chaishushan{AT}gmail.com&gt;. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

#include &lt;stdio.h&gt;

int main() {
	int t1, t2, next;

	t1 = t2 = 1;
	printf("%d %d ", t1, t2);

	next = t1 + t2;
	while(next <= 1000) {
		printf("%d ",next);
		t1 