Programming_Nested_Loop_Questions
Programming_Nested_Loop_Questions
**
***
****
****
***
**
***
*****
*******
*******
*****
***
***
*****
*******
*****
***
12
123
1234
1234
123
12
121
12321
1234321
1234321
12321
121
*****
* *
* *
* *
*****
11. Write a program to print a square with a cross inside using stars (*).
* *
**
**
* *
12. Write a program to print a right-aligned half pyramid using stars (*).
**
***
****
*******
*****
***
***
*****
*******
**
* *
*******
* *
**
* *
**
**
* *