Question: write in C Write a program that asks the user for a character and a number. Once you have the character and number, print out:

 write in C Write a program that asks the user for

write in C

Write a program that asks the user for a character and a number. Once you have the character and number, print out: 1. A left-justified "tree" that is upside down. 2. A right-justified "tree" that is right-side up. 3. A "centred tree" that is upside down. 4. A "centred tree" that is right-side up. For example, using "*" and 6 will give the following result: * ** ** * ** ****** * ** *** ** *

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!