Matlab not c++Problem 3: For this problem you will create a function that will accept a positive whole number as the input and produce an output similar to those presented below (output will vary depending on the input valuc). The function should use a nested loop and the fprintf function. The fprintf function should only output 1 value (stored as a scalar variable) or the newline character at a time. Your script file should
OR
OR