aboutsummaryrefslogtreecommitdiff
path: root/Homework-4
diff options
context:
space:
mode:
authorraquelc <[email protected]>2024-02-04 14:19:09 -0800
committerraquelc <[email protected]>2024-02-04 14:19:09 -0800
commit023bf23143d0c4b74fe78bfbceeb04d16259b098 (patch)
tree821713ce5ab86b280692611f2b4462014254eccc /Homework-4
parentcompleted homework 4 (diff)
downloadhomework-4-raquel191-main.tar.xz
homework-4-raquel191-main.zip
homework 4 is now completeHEADmain
Diffstat (limited to 'Homework-4')
-rw-r--r--Homework-4/Homework-4/program.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Homework-4/Homework-4/program.cpp b/Homework-4/Homework-4/program.cpp
index aa882a6..9fb8891 100644
--- a/Homework-4/Homework-4/program.cpp
+++ b/Homework-4/Homework-4/program.cpp
@@ -22,7 +22,7 @@ struct {
int year;
}mystruct;
-long PrintFibonacci(size_t n) {
+size_t PrintFibonacci(size_t n) {
if (n <= 1)
return n;
return PrintFibonacci(n - 1) + PrintFibonacci(n - 2);