Complete homework 7 using for, while, and do while loops to genearte the same pattern of integers and dashes based on user input