aboutsummaryrefslogtreecommitdiff
path: root/Inclass-9/Program.cpp
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-02-08 12:56:48 -0800
committerConnor McDowell <[email protected]>2024-02-08 12:56:48 -0800
commit8a92322cbf31ebd646ef06865a1c3d0c5038dad3 (patch)
tree6ff71698400cd18a76a1bf4681d69cd1303ec71e /Inclass-9/Program.cpp
parentint main for practice and examples commented, functions moved to Reference Ex... (diff)
downloadin-class-exercise-9-connormcdowell275-8a92322cbf31ebd646ef06865a1c3d0c5038dad3.tar.xz
in-class-exercise-9-connormcdowell275-8a92322cbf31ebd646ef06865a1c3d0c5038dad3.zip
functions and outputs createdHEADmain
Diffstat (limited to 'Inclass-9/Program.cpp')
-rw-r--r--Inclass-9/Program.cpp13
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;