Pattern Programs3
1
2
3
- Write a program to print following pattern.
1
2 3
4 5 6
4 5 6
2 3
1
Click Here for Solution
- Write a program to print following pattern
Sample Input
253
Sample Output
2
2 5
2 5 3
5
5 3
3
Click Here for Solution
- Write a program to print following pattern
Sample Input1
3
Sample Output1
* 2 3
* 5 *
7 * *
Sample Input2
4
Sample Output2
* 2 3 *
5 * 7 *
* * 11 *
13 * * *
Click Here for Solution
- Write a program to print following pattern.
1*2*3*10*11*12
4*5*8*9
6*7
Click Here for Solution
1
2
3