Moderators: Please dont delete this post as it is featured
A part of an assignment I have due. The assignment states -
A program that prints out lines of asterisks, based on the values determined by the user input. The program first asks for the minimum number of asterisks, the maximum number of asterisks, and the interval. It then prints lines of asterisks, starting with a line with the minimum number of asterisks, and ending with a line with the maximum number of asterisks. The increment of the numbers of asterisks is specified by the interval value. At the end of each line, it should also print how many stars are printed.
Sample Run-
This program prints outlines of stars.
What is the minimum number of stars? 3
What is the maximum number of stars? 15
What is the interval? 4
*** (3 stars)
******* (7 stars)
*********** (11 stars)
*************** (15 stars)