Skip to player
Skip to main content
Skip to footer
Search
Connect
Watch fullscreen
Like
Comments
Bookmark
Share
Add to Playlist
Report
Learn Programming Technique C to Master Skills - Nested If Statement Program (Flow Chart)
Tutorials Arena
Follow
10/12/2024
Category
📚
Learning
Transcript
Display full video transcript
00:00
Hello everyone, today I am going to explain program of nested if, in nested if there is
00:09
a combination of if statement and of if else if, so there is a combination of continuous
00:18
if statement and if else if okay, so let us see this program, this is the program in which
00:26
I have to display the greatest value okay, out of the three, so here is the program input
00:32
three numbers and display the greatest, so I am going to input the three numbers from
00:38
the keyboard okay, it's going to store inside three variables and from there it's going
00:44
to display the greatest one okay, so let us understand the dry run of it, the program
00:50
is going to start, the values are going to store inside A, B and C, suppose if the value
00:56
inside A is greater than B and if the value inside A is greater than the value which is
01:02
inside in C, in both the cases the condition is true, so it will come to this part and
01:08
it's going to print the A okay, now if the value which is inside in A is greater than
01:16
B but here the condition get false, the value which is there inside A is what less than
01:22
C in that case it's going to print what C, so let us do the dry run, suppose inside A
01:30
it is 8, inside B it is 5 and inside C it is 2, so here it will come to the if statement
01:36
8 greater than 5, yes the condition is true, it will come to the yes part, 8 greater than
01:44
2, yes the condition is true, it is going to display what 8, again if I run the program
01:52
suppose the value inside A is 3, in B is what 8 and C is 2, so here the condition is going
01:58
to get false, it will come to the no part and B is going to compare with C, as B is
02:06
greater than A, so now the B is going to compare with C, B greater than C, yes the condition
02:12
is true, it is going to display the value which is inside in B and then stop, if I again
02:18
run the program okay with some different values like in A it is 8, in B is what 5, in C 9,
02:28
so 8 greater than 5, yes the condition is true, so it will come to the yes part, A greater
02:35
than C, what is inside A, it is 8 and what is inside C, it is 9, here the condition is
02:41
false, so it is come to the no part and print C and then stop, in the flowchart I hope you
02:47
understand how the things work, in the next video I am going to make the program in C
02:54
of nested if, thank you.
Recommended
4:54
|
Up next
Learn Programming Technique C to Master Skills - Single If Statement Program (Flow Chart)
Tutorials Arena
10/12/2024
5:29
Learn Programming Technique C to Master Skills - Continuous If Program (Flow Chart)
Tutorials Arena
10/8/2024
4:57
Learn Programming Technique C to Master Skills - Loop With If Statement Program ( Flow Chart )
Tutorials Arena
10/13/2024
7:56
Learn Programming Technique C to Master Skills - Nested If Statement Program
Tutorials Arena
10/12/2024
3:52
Learn Programming Technique C to Master Skills - Second Program of Loop (Flow Chart)
Tutorials Arena
10/17/2024
4:39
Learn Programming Technique C to Master Skills - If... else if Statement Program (Flowchart)
Tutorials Arena
10/8/2024
3:51
Learn Programming Technique C to Master Skills - First Program of Loop (Flowchart)
Tutorials Arena
10/13/2024
12:06
Learn Programming Technique C to Master Skills - Continuous If Statement Program
Tutorials Arena
10/8/2024
3:27
Learn Programming Technique C to Master Skills - Third Program of Loop ( Flow Chart)
Tutorials Arena
10/17/2024
3:20
Learn Programming Technique C to Master Skills - Multiple Selection Program (Flow chart)
Tutorials Arena
10/12/2024
5:14
Learn Programming Technique C to Master Skills - Single If Statement Program Explanation
Tutorials Arena
10/12/2024
10:56
Learn Programming Technique C to Master Skills - Loop With If Statement Program
Tutorials Arena
10/13/2024
4:01
Learn Programming Technique C to Master Skills - Fourth Program of Loop ( Flow Chart )
Tutorials Arena
10/13/2024
4:55
Learn Programming Technique C to Master SkillsCharacter String Second Program (Flowchart)
Tutorials Arena
11/19/2024
16:34
Learn Programming Technique C to Master Skills - FIle Handling ( Explain of Program with help of Diagram)
Tutorials Arena
11/18/2024
5:15
Learn Programming Technique C to Master SkillsCharacter String Third Program (Flowchart)
Tutorials Arena
11/19/2024
4:17
Learn Programming Technique C to Master Skills - Linked List ( Create Node Program)
Tutorials Arena
11/30/2024
5:02
Learn Programming Technique C to Master SkillsCharacter String Fourth Program (Flowchart)
Tutorials Arena
11/19/2024
3:28
Learn Programming Technique C to Master Skills - Switch Case Program ( Continue ...)
Tutorials Arena
10/19/2024
2:44
Learn Programming Technique C to Master Skills - Switch Case Program ( Use of Character Value)
Tutorials Arena
10/19/2024
5:36
Learn Programming Technique C to Master Skills - Switch Case Program ( Use of Integer Value)
Tutorials Arena
10/19/2024
8:32
Learn Programming Technique C to Master Skills - If .... else if Statement Program
Tutorials Arena
10/8/2024
2:41
Learn Programming Technique C to Master Skills - Explanation of First Program of C Language in Flowchart
Tutorials Arena
10/8/2024
8:07
Learn Programming Technique C to Master Skills - Loop with if Statement Second Program
Tutorials Arena
10/17/2024
9:09
Learn Programming Technique C to Master Skills - Second Program( Call by Reference)
Tutorials Arena
11/8/2024