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

A8 - nested loops

The document outlines various practical assignments focused on nested loops, showcasing different patterns and sequences. Each practical includes a series of outputs that demonstrate increasing complexity, from simple asterisks to numerical sequences and alphabetical arrangements. The assignments are structured to progressively challenge the learner's understanding of nested loops in programming.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

A8 - nested loops

The document outlines various practical assignments focused on nested loops, showcasing different patterns and sequences. Each practical includes a series of outputs that demonstrate increasing complexity, from simple asterisks to numerical sequences and alphabetical arrangements. The assignments are structured to progressively challenge the learner's understanding of nested loops in programming.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment 8 -- Nested Loops

Practical 1 Practical 2 Practical 3 Practical 4


* 1 A 1
** 12 AB 22
*** 123 ABC 333
**** 1234 ABCD 4444
- - ABCDE 55555
N N 666666

Practical 5 Practical 6 Practical 7 Practical 8


A 1 ***** 666666
BC 3 5 **** 55555
DEF 7 9 11 *** 4444
GHIJ 13 15 17 19 ** 333
* 22
1
Practical 9 Practical 10
1 2 3 4 5 6 7 8 9 10
*
** 2 4 6 8 10 12 14 16 18 20
***
**** 3 . . . . . . . . 30
***** 4 . . . . . . . . 40
****
*** 5 . . . . . . . . 50
**
6 . . . . . . . 60
*
7 . . . . . . . . 70
8 . . . . . . . . 80
9 . . . . . . . . 90
10 20 30 40 50 60 70 80 90 100

Practical 11
A
AB
ABC
ABCD
ABCDE

Practical 12
*
**
***
****
*****
****
***
**
*

You might also like