Skip to content
Snippets Groups Projects
Commit 19ad98f6 authored by Mohamed Yasar arafath K M's avatar Mohamed Yasar arafath K M :speech_balloon:
Browse files

Nested loop

parent 5f4b656d
No related branches found
No related tags found
No related merge requests found
#include<stdio.h>
int main(){
int i,j;
printf("Examples of the nested loop :\n");
for(i=0;i<2;i++){
printf("This is parent loop\n");
for(j=0;j<2;j++){
printf("This is child loop\n");
}
printf("Child loop done\n");
}
printf("Parent loop done\n");
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment