aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNataliia Brown <[email protected]>2024-02-01 12:44:49 -0800
committerNataliia Brown <[email protected]>2024-02-01 12:44:49 -0800
commit06eeaa72a7ac82849251eee4934f29f44462938a (patch)
treed6a2d895f3177b7b3375b52f553cb5864cf1923f
parentadded Power function (diff)
downloadhomework-3-natabrown-06eeaa72a7ac82849251eee4934f29f44462938a.tar.xz
homework-3-natabrown-06eeaa72a7ac82849251eee4934f29f44462938a.zip
added commentHEADmain
-rw-r--r--Homework-3/Homework-3/Homework_3.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Homework-3/Homework-3/Homework_3.cpp b/Homework-3/Homework-3/Homework_3.cpp
index d8a34f1..9f23903 100644
--- a/Homework-3/Homework-3/Homework_3.cpp
+++ b/Homework-3/Homework-3/Homework_3.cpp
@@ -64,3 +64,6 @@ int power(int a, int b)
+// size_t can be appropriate to store the results of these functions,
+// since the number can get really big, depending on the input, and
+// the it will always be positive. \ No newline at end of file