aboutsummaryrefslogtreecommitdiff
path: root/project/program.cpp
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-02-02 11:36:08 -0800
committerConnor McDowell <[email protected]>2024-02-02 11:36:08 -0800
commit567be58fb254052277f5738c599fc254ea8ccab1 (patch)
treeb4f21c859032da10025794b9f8016b04ba0b0f1c /project/program.cpp
parentframework set up for all files (diff)
downloadin-class-exercise-8-connormcdowell275-567be58fb254052277f5738c599fc254ea8ccab1.tar.xz
in-class-exercise-8-connormcdowell275-567be58fb254052277f5738c599fc254ea8ccab1.zip
nested loop created
Diffstat (limited to 'project/program.cpp')
-rw-r--r--project/program.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/project/program.cpp b/project/program.cpp
index 982e803..fd7c5cf 100644
--- a/project/program.cpp
+++ b/project/program.cpp
@@ -6,10 +6,20 @@
#include <iostream>
#include "NestedLoops.h"
+using std::cout;
+using std::cin;
+using std::endl;
+
+
+
int main()
{
+ int n = 2;
+ int m = 3;
-
+ //NestedForLoop(n, m);
+ //NestedWhileLoop(n, m);
+ NestedDoWhileLoop(n, m);
return 0;
} \ No newline at end of file