From f12b2a0b89a7f5a4250fa87f7acc1b6ec35a7e8a Mon Sep 17 00:00:00 2001
From: Philipp Pister <philipp.pister@stud.h-da.de>
Date: Thu, 20 Jul 2023 14:52:40 +0000
Subject: [PATCH] Upload New File

---
 Calculator_Update/sinus.h | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Calculator_Update/sinus.h

diff --git a/Calculator_Update/sinus.h b/Calculator_Update/sinus.h
new file mode 100644
index 0000000..59f190c
--- /dev/null
+++ b/Calculator_Update/sinus.h
@@ -0,0 +1,21 @@
+#ifndef SINUS_H
+#define SINUS_H
+
+#include <cmath>
+
+class Sinus {
+public:
+    enum Modus { bogenmass, grad, neugrad };
+    Sinus();
+    Sinus(Modus m);
+    double operator()(double arg) const;
+    Modus getModus() const; // Hinzufügen der getModus-Methode
+    Modus defaultModus = Modus::bogenmass;
+
+
+private:
+    Modus berechnungsart;
+};
+
+
+#endif // SINUS_H
-- 
GitLab