2.

2. <cstring>#

题上中文限制: 不允许使用字符串标准库函数 (<string>, <cstring>, <string.h>), 只能使用字符数组.

Store two user input strings into c-style character arrays. Connect them, change the punctuation and convert the lowercase letters into uppercase letters for output.

For example,

1input:
2  Hello C++!
3  Happy New Year, 2021!
4output:
5  HELLO C++, HAPPY NEW YEAR, 2021!