From 7d98b664c9e459a08f2e6e6fa5b636686dfed554 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 8 Apr 2026 10:42:51 +0300 Subject: feat(Week08): Add solutions --- Week08/Exercise01/LaunchSite.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Week08/Exercise01/LaunchSite.h (limited to 'Week08/Exercise01/LaunchSite.h') diff --git a/Week08/Exercise01/LaunchSite.h b/Week08/Exercise01/LaunchSite.h new file mode 100644 index 0000000..13c3cb3 --- /dev/null +++ b/Week08/Exercise01/LaunchSite.h @@ -0,0 +1,20 @@ +#ifndef _LAUNCH_SITE +#define _LAUNCH_SITE + +class LaunchSite { + char name[251]; + double maxWeight; + unsigned maxHeight; + +public: + const char* GetName() const; + void SetName(const char* name); + + double GetMaxWeight() const; + void SetMaxWeight(double weight); + + unsigned GetMaxHeight() const; + void SetMaxHeight(unsigned height); +}; + +#endif /* _LAUNCH_SITE */ -- cgit v1.3.1-26-gb76a