Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 07-Practice-05.04.2022 / NumberHelpers.h
diff options
context:
space:
mode:
Commit30420a6ea65aa58389b9ffa0ba67130de376c079 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-04-06 10:29:54 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-04-06 10:29:54 +0300
Files12981a8607166b51b9dbbee5ab8e1d965bff509b /Year 1/Object-oriented Programming/07-Practice-05.04.2022/NumberHelpers.h
uni-projects-30420a6ea65aa58389b9ffa0ba67130de376c079.tar
uni-projects-30420a6ea65aa58389b9ffa0ba67130de376c079.tar.gz
uni-projects-30420a6ea65aa58389b9ffa0ba67130de376c079.zip
Parent2cf8d711c3dd110555c16913941f865841aa3175 (diff)
Implemented overall functionality for yesterdays practice exercise
1 files changed, 3 insertions, 1 deletions
-rw-r--r--Year 1/Object-oriented Programming/07-Practice-05.04.2022/NumberHelpers.h4
diff --git a/Year 1/Object-oriented Programming/07-Practice-05.04.2022/NumberHelpers.h b/Year 1/Object-oriented Programming/07-Practice-05.04.2022/NumberHelpers.h
index 2e1050b..159f0f3 100644
--- a/Year 1/Object-oriented Programming/07-Practice-05.04.2022/NumberHelpers.h
+++ b/Year 1/Object-oriented Programming/07-Practice-05.04.2022/NumberHelpers.h
@@ -1,3 +1,5 @@
+#include <math.h>
+
bool isEven(int);
-bool isPrimary(int);
bool isPowerOfTwo(int);
+bool isPrime(int);