summaryrefslogtreecommitdiff
path: root/regress/usr.bin/bc/t11.in
blob: afd46f4ab373e4950c4fad6919de94b543f2796a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
for (i = 0; i < 5; i++) {
	if (i > 0) {
		if (i < 3) {
			"i > 0 && i < 3"
		} else {
			"i > 0 && i >= 3"
		}
	} else "i == 0"
	" "
	if (i == 0) "0 " else if (i == 1) "1 " else "* "
	i
}