Uploaded by alaminsheikh858

Lab-04

advertisement
Course Code: CSE 102
Course Title: Structured Programming Language Lab
Lab-04
Problem 1: Half Pyramid Pattern
Input: 5
Output:
*
**
***
****
*****
Problem 2: Inverted Half Pyramid Pattern
Input: 6
Output:
******
*****
****
***
**
*
Problem 3: Diamond Pattern
Input: 5
Output
*
***
*****
*******
*********
*******
*****
***
*
Download