From 51ebf36804bdfbf5adf79fb47e303b3e843fece6 Mon Sep 17 00:00:00 2001 From: Kshitij Date: Wed, 5 Nov 2025 19:05:55 +0530 Subject: [PATCH] Added sample output in fiboacci code. --- Codes/C++/Code-A1 (Fibonacci).cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Codes/C++/Code-A1 (Fibonacci).cpp b/Codes/C++/Code-A1 (Fibonacci).cpp index 9708e65..aaf993c 100644 --- a/Codes/C++/Code-A1 (Fibonacci).cpp +++ b/Codes/C++/Code-A1 (Fibonacci).cpp @@ -39,3 +39,12 @@ int main() { cout << endl; return 0; } + +// SAMPLE OUTPUT +/* +* $ ./a.out +* Enter the number of terms: 5 +* +* Fibonacci Series using Recursion: 0 1 1 2 3 +* Fibonacci Series using Iteration: 0 1 1 2 3 +*/