aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project/NestedLoops.cpp3
-rw-r--r--project/NestedLoops.h13
-rw-r--r--project/program.cpp15
3 files changed, 30 insertions, 1 deletions
diff --git a/project/NestedLoops.cpp b/project/NestedLoops.cpp
index e69de29..e451ce2 100644
--- a/project/NestedLoops.cpp
+++ b/project/NestedLoops.cpp
@@ -0,0 +1,3 @@
+#include "NestedLoops.h"
+
+#include <iostream> \ No newline at end of file
diff --git a/project/NestedLoops.h b/project/NestedLoops.h
index 6f70f09..d14b549 100644
--- a/project/NestedLoops.h
+++ b/project/NestedLoops.h
@@ -1 +1,12 @@
-#pragma once
+#ifndef NestedLoops
+#define NestedLoops
+
+void ForLoop(size_t n);
+
+void WhileLoop(size_t n);
+
+void DoWhileLoop(size_t n);
+
+
+#endif NestedLoops
+
diff --git a/project/program.cpp b/project/program.cpp
index e69de29..982e803 100644
--- a/project/program.cpp
+++ b/project/program.cpp
@@ -0,0 +1,15 @@
+// Name: Connor McDowell
+// date: 1/29/2024
+// class: CIS116
+// Reason: inclass exercise 8
+
+#include <iostream>
+#include "NestedLoops.h"
+
+int main()
+{
+
+
+
+ return 0;
+} \ No newline at end of file