Assignment 1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Computer Fundamentals and Programming

Assignment-01
Date Assigned: 17-10-2008
Last Date of Submission:20-10-2008
Draw the following shapes using for loops

Program01

Program02

**********
**********
**********
**********
**********

1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10

Program03

1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30
31 32 33 34 35 36 37 38 39 40
51 52 53 54 55 56 57 58 59 60

Program04

Program05

Program06

*
**
***
****
*****

1
12
123
1234
12345

2
4 6
8 10 12
14 16 18
20 22 24 26

Program07
*

Program08

Program09

***
*****
*******
*********
***********

1
123
12345
1234567
123456789

Program10
*

***
*****
*******
*********
***********
*********
*******
*****
***
*

Program11

ABCDEFGHIJKLMNO
ABCDEFGIJKLMNO
ABCDEFJKLMNO
ABCDE KLMNO
ABCD LMNO
MNO
ABC
NO
AB
O
A

1
2 3 4
3 4 5 6 7
4 5 6 7 8 9 10
5 6 7 8 9 10 11 12 13

You might also like