0% found this document useful (0 votes)
2 views

Assignment 3

The document is an assignment for the Programming for Problem Solving Laboratory course at the University of Engineering and Management, Kolkata. It contains a series of programming tasks focused on printing various patterns based on the input value N, with examples provided for N = 4 and N = 5. The patterns include stars, letters, and numbers arranged in specific formats.

Uploaded by

Chirag Saraf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Assignment 3

The document is an assignment for the Programming for Problem Solving Laboratory course at the University of Engineering and Management, Kolkata. It contains a series of programming tasks focused on printing various patterns based on the input value N, with examples provided for N = 4 and N = 5. The patterns include stars, letters, and numbers arranged in specific formats.

Uploaded by

Chirag Saraf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Institute of Engineering and Management, New Town Campus

University of Engineering and Management, Kolkata


Assignment-3, Second Semester-2024
Course Name: Programming for Problem Solving Laboratory
Course Code: ESCCS291

1. Print the following pattern upto N Lines:


****
****
****
****
for N = 4
2 Print the following pattern upto N Lines:
*
**
***
****
for N = 4
3 Print the following pattern upto N Lines:
****
***
**
*
for N = 4
4 Print the following pattern upto N Lines:
*
* *
* * *
* * * *
for N = 4
5 Print the following pattern upto N Lines:
*
***
*****
*******
for N = 4
6 Print the following pattern upto N Lines:
*******
*****
***
*
for N = 4
7 Write a Program to print given pattern:
A
BB
CCC
DDDD
8
Write a Program to print given pattern:
ABCDE
CDEF
EFG
GH
I
9 Write a Program to print given pattern:
A
BC
CDE
DEFG
EFGHI
10 Write a Program to print given pattern:
A
AC
ACE
ACEG
ACEGI
11 Write a Program to print given pattern:
1
12
123
1234
12345
for N=5
12 Print the following pattern upto N Lines:
10001
01010
00100
01010
10001
for N = 5
13 Print the following pattern upto N Lines:
1
121
12321
1234321
for N = 4
14 Print the following pattern upto N Lines:
1
11
121
1331
14641
for N=5

You might also like