diff options
| author | Connor McDowell <[email protected]> | 2024-02-08 12:56:48 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-02-08 12:56:48 -0800 |
| commit | 8a92322cbf31ebd646ef06865a1c3d0c5038dad3 (patch) | |
| tree | 6ff71698400cd18a76a1bf4681d69cd1303ec71e /Inclass-9/Program.cpp | |
| parent | int main for practice and examples commented, functions moved to Reference Ex... (diff) | |
| download | in-class-exercise-9-connormcdowell275-main.tar.xz in-class-exercise-9-connormcdowell275-main.zip | |
Diffstat (limited to 'Inclass-9/Program.cpp')
| -rw-r--r-- | Inclass-9/Program.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Inclass-9/Program.cpp b/Inclass-9/Program.cpp index 5b7fa73..014935d 100644 --- a/Inclass-9/Program.cpp +++ b/Inclass-9/Program.cpp @@ -27,7 +27,20 @@ int main() cout << newNode.data << endl;*/ + int x = 5, y = 72; + int n = 4392; + Swap(x, y); + + cout << "x = " << x << ", y = " << y << endl; + + Standardize_101(n); + + cout << "modded n = " << n << endl; + + Square(x); + + cout << "Squared x = " << x << " remember, x = the value of y now" << endl; return 0; |