Search for question
Question

Write a program that prompts the user to enter the maximum number of asterisks (*) to display

on a line of output, as well as a choice of two different output patterns. The program shall then

display the asterisks according to one of the patterns below. For example, if the user specifies 10

as the maximum number of asterisks, the output should look like one of the following:

Fig: 1