Question: c++ code in which user inputs the name and it will print output of the name in asterisk pattern as shown in above pic. program

c++ code in which user inputs the name and it will print output of the name in asterisk pattern as shown in above pic. program should contain loops like "for" "switch" etc .
QUESTION: Write a C++ program to get the output name "ASAD" in an asterisk pattern. Following is the sample. The input must be in the following pattern. By using loops create an output of the name in C++. Following is the example. The code must be like that Winclude
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
