Submit Search
Upload
CS106 Lab 8 - Nested loops
•
Download as PPSX, PDF
•
0 likes
•
361 views
N
Nada Kamel
Follow
Fundamentals of Programming in C++
Read less
Read more
Education
Report
Share
Report
Share
1 of 13
Download now
Recommended
CS106 Lab 7 - For loop
CS106 Lab 7 - For loop
Nada Kamel
CS106 Lab 11 - Functions (passing by reference)
CS106 Lab 11 - Functions (passing by reference)
Nada Kamel
CS106 Lab 6 - While and Do..While loop
CS106 Lab 6 - While and Do..While loop
Nada Kamel
CS106 Lab 10 - Functions (passing by value)
CS106 Lab 10 - Functions (passing by value)
Nada Kamel
CS106 Lab 3 - Modulus
CS106 Lab 3 - Modulus
Nada Kamel
CS106 Lab 4 - If statement
CS106 Lab 4 - If statement
Nada Kamel
CS106 Lab 9 - 1D array
CS106 Lab 9 - 1D array
Nada Kamel
CS106 Lab 5 - Switch case
CS106 Lab 5 - Switch case
Nada Kamel
Recommended
CS106 Lab 7 - For loop
CS106 Lab 7 - For loop
Nada Kamel
CS106 Lab 11 - Functions (passing by reference)
CS106 Lab 11 - Functions (passing by reference)
Nada Kamel
CS106 Lab 6 - While and Do..While loop
CS106 Lab 6 - While and Do..While loop
Nada Kamel
CS106 Lab 10 - Functions (passing by value)
CS106 Lab 10 - Functions (passing by value)
Nada Kamel
CS106 Lab 3 - Modulus
CS106 Lab 3 - Modulus
Nada Kamel
CS106 Lab 4 - If statement
CS106 Lab 4 - If statement
Nada Kamel
CS106 Lab 9 - 1D array
CS106 Lab 9 - 1D array
Nada Kamel
CS106 Lab 5 - Switch case
CS106 Lab 5 - Switch case
Nada Kamel
Concept of c
Concept of c
Rohan Gajre
Evaluation of prefix expression with example
Evaluation of prefix expression with example
GADAPURAMSAINIKHIL
Tail Recursion in data structure
Tail Recursion in data structure
Rumman Ansari
Code Tuning
Code Tuning
bgtraghu
Distributed Radar Tracking Simulation Project
Distributed Radar Tracking Simulation Project
Assignmentpedia
Asymptotic Analysis in Data Structure using C
Asymptotic Analysis in Data Structure using C
Meghaj Mallick
Lecture4
Lecture4
Rudy Martinez
Analysis of algo
Analysis of algo
Sandeep Bhargava
P3
P3
lksoo
Functions in c++
Functions in c++
Padma Kannan
Functions in c++,
Functions in c++,
Padma Kannan
Filter Designing
Filter Designing
COMSATS Abbottabad
Functional Design Explained (David Sankel CppCon 2015)
Functional Design Explained (David Sankel CppCon 2015)
sankeld
Phase Responce of Pole zero
Phase Responce of Pole zero
COMSATS Abbottabad
Minimum phase, All pass and Magnitude Squared Function
Minimum phase, All pass and Magnitude Squared Function
COMSATS Abbottabad
Daa
Daa
Prabhat Agrawal
A simple program C# program
A simple program C# program
Micheal Ogundero
Introduction to design and analysis of algorithm
Introduction to design and analysis of algorithm
DevaKumari Vijay
Your first neural network model
Your first neural network model
Atmaram Naik
Linear Convolution using Matlab Code
Linear Convolution using Matlab Code
Bharti Airtel Ltd.
WINSEM2016-17_CSE1002_LO_1336_24-JAN-2017_RM003_session 10.pptx
WINSEM2016-17_CSE1002_LO_1336_24-JAN-2017_RM003_session 10.pptx
ssusercd11c4
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
AAKASH KUMAR
More Related Content
What's hot
Concept of c
Concept of c
Rohan Gajre
Evaluation of prefix expression with example
Evaluation of prefix expression with example
GADAPURAMSAINIKHIL
Tail Recursion in data structure
Tail Recursion in data structure
Rumman Ansari
Code Tuning
Code Tuning
bgtraghu
Distributed Radar Tracking Simulation Project
Distributed Radar Tracking Simulation Project
Assignmentpedia
Asymptotic Analysis in Data Structure using C
Asymptotic Analysis in Data Structure using C
Meghaj Mallick
Lecture4
Lecture4
Rudy Martinez
Analysis of algo
Analysis of algo
Sandeep Bhargava
P3
P3
lksoo
Functions in c++
Functions in c++
Padma Kannan
Functions in c++,
Functions in c++,
Padma Kannan
Filter Designing
Filter Designing
COMSATS Abbottabad
Functional Design Explained (David Sankel CppCon 2015)
Functional Design Explained (David Sankel CppCon 2015)
sankeld
Phase Responce of Pole zero
Phase Responce of Pole zero
COMSATS Abbottabad
Minimum phase, All pass and Magnitude Squared Function
Minimum phase, All pass and Magnitude Squared Function
COMSATS Abbottabad
Daa
Daa
Prabhat Agrawal
A simple program C# program
A simple program C# program
Micheal Ogundero
Introduction to design and analysis of algorithm
Introduction to design and analysis of algorithm
DevaKumari Vijay
Your first neural network model
Your first neural network model
Atmaram Naik
Linear Convolution using Matlab Code
Linear Convolution using Matlab Code
Bharti Airtel Ltd.
What's hot
(20)
Concept of c
Concept of c
Evaluation of prefix expression with example
Evaluation of prefix expression with example
Tail Recursion in data structure
Tail Recursion in data structure
Code Tuning
Code Tuning
Distributed Radar Tracking Simulation Project
Distributed Radar Tracking Simulation Project
Asymptotic Analysis in Data Structure using C
Asymptotic Analysis in Data Structure using C
Lecture4
Lecture4
Analysis of algo
Analysis of algo
P3
P3
Functions in c++
Functions in c++
Functions in c++,
Functions in c++,
Filter Designing
Filter Designing
Functional Design Explained (David Sankel CppCon 2015)
Functional Design Explained (David Sankel CppCon 2015)
Phase Responce of Pole zero
Phase Responce of Pole zero
Minimum phase, All pass and Magnitude Squared Function
Minimum phase, All pass and Magnitude Squared Function
Daa
Daa
A simple program C# program
A simple program C# program
Introduction to design and analysis of algorithm
Introduction to design and analysis of algorithm
Your first neural network model
Your first neural network model
Linear Convolution using Matlab Code
Linear Convolution using Matlab Code
Similar to CS106 Lab 8 - Nested loops
WINSEM2016-17_CSE1002_LO_1336_24-JAN-2017_RM003_session 10.pptx
WINSEM2016-17_CSE1002_LO_1336_24-JAN-2017_RM003_session 10.pptx
ssusercd11c4
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
AAKASH KUMAR
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Sheila Sinclair
Using Deep Learning (Computer Vision) to Search for Oil and Gas
Using Deep Learning (Computer Vision) to Search for Oil and Gas
Sorin Peste
Functional programming in C++ LambdaNsk
Functional programming in C++ LambdaNsk
Alexander Granin
GE3171-PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
GE3171-PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
ANJALAI AMMAL MAHALINGAM ENGINEERING COLLEGE
If.pptx
If.pptx
ntabdelnaiem
PID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB Approach
Waleed El-Badry
Idea for ineractive programming language
Idea for ineractive programming language
Lincoln Hannah
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
Arrowdeepak
Use of Classes and functions#include iostreamusing name.docx
Use of Classes and functions#include iostreamusing name.docx
aryan532920
Tas - dynamic simulations of lightweight construction and phase change materi...
Tas - dynamic simulations of lightweight construction and phase change materi...
Su Butcher
Modules and Scripts- Python Assignment Help
Modules and Scripts- Python Assignment Help
Anderson Silva
#include iostream#includectimeusing namespace std;void.docx
#include iostream#includectimeusing namespace std;void.docx
mayank272369
Algorithim lec1.pptx
Algorithim lec1.pptx
rediet43
White box-sol
White box-sol
Nguyen Duc Nhieu
Aplicación de la derivada en la carrea de telecomunicaciones
Aplicación de la derivada en la carrea de telecomunicaciones
ENelson3
Similar to CS106 Lab 8 - Nested loops
(17)
WINSEM2016-17_CSE1002_LO_1336_24-JAN-2017_RM003_session 10.pptx
WINSEM2016-17_CSE1002_LO_1336_24-JAN-2017_RM003_session 10.pptx
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Using Deep Learning (Computer Vision) to Search for Oil and Gas
Using Deep Learning (Computer Vision) to Search for Oil and Gas
Functional programming in C++ LambdaNsk
Functional programming in C++ LambdaNsk
GE3171-PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
GE3171-PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
If.pptx
If.pptx
PID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB Approach
Idea for ineractive programming language
Idea for ineractive programming language
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
Use of Classes and functions#include iostreamusing name.docx
Use of Classes and functions#include iostreamusing name.docx
Tas - dynamic simulations of lightweight construction and phase change materi...
Tas - dynamic simulations of lightweight construction and phase change materi...
Modules and Scripts- Python Assignment Help
Modules and Scripts- Python Assignment Help
#include iostream#includectimeusing namespace std;void.docx
#include iostream#includectimeusing namespace std;void.docx
Algorithim lec1.pptx
Algorithim lec1.pptx
White box-sol
White box-sol
Aplicación de la derivada en la carrea de telecomunicaciones
Aplicación de la derivada en la carrea de telecomunicaciones
Recently uploaded
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
Mahmoud M. Sallam
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
RaymartEstabillo3
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
OH TEIK BIN
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
arsicmarija21
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
mkooblal
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
pboyjonauth
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
jaredbarbolino94
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
NirmalaLoungPoorunde1
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
SamikshaHamane
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
ssuser54595a
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
Dr. Mazin Mohamed alkathiri
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
Celine George
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
InMediaRes1
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
JonathanParaisoCruz
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
UjwalaBharambe
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
Celine George
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
JhezDiaz1
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
9953056974 Low Rate Call Girls In Saket, Delhi NCR
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
manuelaromero2013
Recently uploaded
(20)
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
CS106 Lab 8 - Nested loops
1.
Lab 8 CS106 -
Fundamentals of Computer Science Presented by TA. Nada Kamel
2.
Agenda Nested for
loop Example Hands-on problems Presented by TA. Nada Kamel
3.
Nested for loop Presented
by TA. Nada Kamel
4.
Nested for loop
syntax for (intialization; condition; increment) { for (intialization; condition; increment) { // statement(s); } } Presented by TA. Nada Kamel
5.
Example Presented by TA.
Nada Kamel
6.
Example Write a C++
program to draw a right angle triangle using ’*’. The height of the triangle is entered by the user. For example, If the user entered 5, the output will be * ** *** **** ***** Presented by TA. Nada Kamel
7.
Presented by TA.
Nada Kamel
8.
Hands-on Problems Presented by
TA. Nada Kamel
9.
Problem 1 Output the
following: 1 22 333 1111 22222 333333 1111111 22222222 333333333 Presented by TA. Nada Kamel
10.
Presented by TA.
Nada Kamel
11.
Problem 2 Output the
following: 1 2 3 4 5 6 0 2 3 4 5 6 0 0 3 4 5 6 0 0 0 4 5 6 0 0 0 0 5 6 0 0 0 0 0 6 Presented by TA. Nada Kamel
12.
Presented by TA.
Nada Kamel
13.
Any Questions? Presented by
TA. Nada Kamel
Download now