diff options
Diffstat (limited to '10a/10.7.2/10.7.2.cpp')
| -rw-r--r-- | 10a/10.7.2/10.7.2.cpp | 18 |
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; + +} |