From aa62ba9f38f5fe9074d9ebecf037d9a084b03950 Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Fri, 2 Apr 2021 09:32:24 -0400 Subject: Update Interval.h --- Sem. 05/Interval/Interval.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 +}; -- cgit v1.3.1-23-gd82d