sysy-data/functional/sy/44_stmt_expr.sy

14 lines
144 B
Plaintext
Raw Normal View History

2024-01-09 19:48:14 +08:00
int k;
const int n = 10;
int main () {
int i = 0;
k = 1;
while (i <= n - 1) {
i = i + 1;
k + 1;
k = k + k;
}
putint(k);
return k;
}