Question: Given input characters for an arrowhead and arrow body, print a right - facing arrow. If the input is * # , the output is:
Given input characters for an arrowhead and arrow body, print a rightfacing arrow. If the input is # the output is:
#
##
###
##
#
Note: char is used for getting characters like as input, rather than integers like You can just use cin the same as for getting integer input.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
