summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-04-25 11:22:46 +0200
committerSanto Cariotti <sancn@live.com>2017-04-25 11:22:46 +0200
commitcce73ad195f9448ae56771dd91e097067d198143 (patch)
tree86ae4b97d82190a92a25d3a3ba517d6787ff7a24
parenta4c1fffacd024ef49cbdafec6a3a0aeed0ab4968 (diff)
Print values of array fib with a new line
-rw-r--r--lswf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lswf.cpp b/lswf.cpp
index 31f7745..41a22f6 100644
--- a/lswf.cpp
+++ b/lswf.cpp
@@ -44,7 +44,7 @@ int main()
}
int* seq = new int[lastc];
- //for(i = 0; i < lastc; i++) cout << caracts[i] << ' '; cout << endl;
+ for(i = 0; i < lastc; i++) cout << caracts[i] << endl; cout << endl;
seq[0] = 1;
for(i = lastc; i > 0; i--) {