From: yu.dongliang <18588496441@163.com> Date: Thu, 8 Jun 2023 06:14:40 +0000 (+0800) Subject: add ../examples/do_while.c X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=d6f0bdfa06c36d13a0e42ce483e17fd9830b48c9;p=scf.git add ../examples/do_while.c --- diff --git a/examples/do_while.c b/examples/do_while.c new file mode 100644 index 0000000..c045445 --- /dev/null +++ b/examples/do_while.c @@ -0,0 +1,12 @@ +int printf(const char* fmt, ...); + +int main() +{ + int i = 0; + + do { + printf("%d\n", i++); + } while (i < 10); + + return 0; +}