// Name: Connor McDowell // date: 1/29/2024 // class: CIS116 // Reason: inclass exercise 8 #include #include "NestedLoops.h" using std::cout; using std::cin; using std::endl; //test int main() { int n = 2; int m = 3; cout << "Nested for loop for bounds of n = 2 and m = 3" << endl; cout << endl; NestedForLoop(n, m); cout << endl; cout << "Nested while loop for bounds of n = 2 and m = 3" << endl; cout << endl; NestedWhileLoop(n, m); cout << endl; cout << "Nested while loop for bounds of n = 2 and m = 3" << endl; cout << endl; NestedDoWhileLoop(n, m); cout << endl; return 0; }