Write a program using C++ in Microsoft Visual Studio 2010 that will allow the us
ID: 3538838 • Letter: W
Question
Write a program using C++ in Microsoft Visual Studio 2010 that will allow the user to enter a character then display a triangle using the character that was entered by the user. For example, if the user enters the D then your output should look as follows:D
DDD
DDDDD
DDDDDDD Write a program using C++ in Microsoft Visual Studio 2010 that will allow the user to enter a character then display a triangle using the character that was entered by the user. For example, if the user enters the D then your output should look as follows:
D
DDD
DDDDD
DDDDDDD
Explanation / Answer
#include #include #include #include #include using namespace std; /* * */ int main() { char a; int n=3,k=0,i,j,m=4; couta; while(kRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.