Homework 6. This homework has problems that you should do to practice your programming with functions, loops, and conditionals. These will not count for a grade, but you should do them. They will help you prepare for the quiz on Tuesday, October 8. (1) Create a program called triangle.cpp. It should ask the user for an integer and print a triangle that is that height. For example, if they want a triangle that is 4 lines high, you'd print * ** *** **** To get started, copy/paste the rect function we did in class into your triangle.cpp program. Then modify it to make it print a triangle instead of a rectangle. (2) Create a program with a function called multiples. The function is declared like void multiples(int n, int max) { // your code } The function should print print out all the multiples of n that are <= max. In the main function, ask the user for what number they want to see multiples of, and ask the user for what max value to print up to. Then call the multiples function. If they want to see multiples of 7 up to a max of 40, you'd print 7 14 21 28 35 (3) Create a program that draws a large X. First ask the user for how tall they want the X to be, and then print it. If they want one 5 lines tall, you could print * * * * * * * * * For the empty space between the *'s, print spaces, which are ' '.