aboutsummaryrefslogtreecommitdiff
path: root/10a/10.7.2/10.7.2.cpp
diff options
context:
space:
mode:
authorJacobAKnox <[email protected]>2021-10-30 09:24:43 -0700
committerJacobAKnox <[email protected]>2021-10-30 09:24:43 -0700
commitc2c10d567bf3d5d2f7d1ba70ef7be28b16bcc012 (patch)
treeb386c4a317db79bb9b65a7d4de55dda4dd6dac49 /10a/10.7.2/10.7.2.cpp
parent9c finished (diff)
downloadarchived-cst116-lab5-jacobaknox-c2c10d567bf3d5d2f7d1ba70ef7be28b16bcc012.tar.xz
archived-cst116-lab5-jacobaknox-c2c10d567bf3d5d2f7d1ba70ef7be28b16bcc012.zip
10.a finished
Diffstat (limited to '10a/10.7.2/10.7.2.cpp')
-rw-r--r--10a/10.7.2/10.7.2.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/10a/10.7.2/10.7.2.cpp b/10a/10.7.2/10.7.2.cpp
new file mode 100644
index 0000000..fb5fc53
--- /dev/null
+++ b/10a/10.7.2/10.7.2.cpp
@@ -0,0 +1,18 @@
+// 10.7.2.cpp : This file contains the 'main' function. Program execution begins and ends there.
+//
+
+#include <iostream>
+#include "10_7.h"
+
+using namespace std;
+
+int main()
+{
+ char first[20]{}, last[20]{}, full[40];
+
+ GetNames(first, last);
+ CombineNames(first, last, full);
+
+ cout << full;
+
+}