diff options
Update Interval.h
1 files changed, 4 insertions, 1 deletions
| -rw-r--r-- | Sem. 05/Interval/Interval.h | 5 |
diff --git a/Sem. 05/Interval/Interval.h b/Sem. 05/Interval/Interval.h index 432b368..c8fcbc7 100644 --- a/Sem. 05/Interval/Interval.h +++ b/Sem. 05/Interval/Interval.h @@ -23,7 +23,10 @@ public: size_t calcPrimeNumbersInTheInterval() const;
size_t calcPalindromicNumbersInTheInterval() const;
size_t calcDiffrentDigitNumbersInTheInverval() const;
+
bool areStartAndEndPowersOfTwo() const;
+
Interval intersect(const Interval& other) const;
+
bool isSuperInterval(const Interval& other) const;
-};
\ No newline at end of file +};
|
