not much to show for this one, but I'm pretty sure I get it :-P

This commit is contained in:
Dan Buch 2011-06-12 23:51:17 -04:00
parent 7f11279bfd
commit 7532ba866a
3 changed files with 25 additions and 2 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
gowrikumar/* gowrikumar/00-sizeof
gowrikumar/02-dowhile

20
gowrikumar/02-dowhile.c Normal file
View File

@ -0,0 +1,20 @@
/**
* :author: Dan Buch (daniel.buch@gmail.com)
*/
#include <stdio.h>
int main()
{
int i = 1;
do
{
printf("%d\n", i);
} while(++i < 15);
return 0;
}
/* vim:filetype=c:fileencoding=utf-8
*/

View File

@ -1,10 +1,12 @@
# puzzles from http://www.gowrikumar.com/c/ # puzzles from http://www.gowrikumar.com/c/
all: 00-sizeof all: 00-sizeof 02-dowhile
00-sizeof: 00-sizeof.o 00-sizeof: 00-sizeof.o
00-dowhile: 00-dowhile.o
.PHONY: all .PHONY: all