write a function called printtriangle that takes in a positive integer as the parameter and display a right triangle made of capital letter x's that has a width and a height size of the integer. for example, the function invocation printtriangle(4); should print out: xxxx xxx xx x