diff options
Diffstat (limited to 'miniany/test1.c')
-rw-r--r-- | miniany/test1.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/miniany/test1.c b/miniany/test1.c index 4492d4f..4bf86e3 100644 --- a/miniany/test1.c +++ b/miniany/test1.c @@ -26,9 +26,14 @@ putint( 0 ); } } - i = 10; + i = 5; while( i > 0 ) { putint( i ); i = i-1; } + i = 1; + do { + putint( i ); + i = i+1; + } while( i <= 5 ); } |