From 61811cc76d1327fc5715f9076a865c246ef3bf42 Mon Sep 17 00:00:00 2001 From: NoName <55785946+hoanglea@users.noreply.github.com> Date: Wed, 25 Sep 2019 11:08:53 +0200 Subject: [PATCH] homework #include int main() { int i = 0; int current=1; int previous=0; for(i=0; i<20; i++) { printf ("%d \n", current); int i= current + previous; previous = current; current = i; } return 0; } --- 20190918/fibonacci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/20190918/fibonacci.c b/20190918/fibonacci.c index e3378f5..e50237b 100644 --- a/20190918/fibonacci.c +++ b/20190918/fibonacci.c @@ -23,4 +23,4 @@ int main() int helper; } -} \ No newline at end of file +}