Write a single source file which implements all of the following problems. All problems must be solved using nested loops. Just writing lots of couts to solve the problems will result in zero credit.
Problem 1:
Write a program to display the following:
10
10 9
10 9 8
10 9 8 7
10 9 8 7 6
10 9 8 7 6 5
10 9 8 7 6 5 4
10 9 8 7 6 5 4 3
10 9 8 7 6 5 4 3 2
10 9 8 7 6 5 4 3 2 1
Problem 2, Part A:
Write a program to display the following:
*
***
*****
*******
*********