C_29 Nested If in C | C Programming Tutorials

  Рет қаралды 227,388

Jenny's Lectures CS IT

Jenny's Lectures CS IT

Күн бұрын

In this video, I have discussed the nested if control statement in C | Syntax, Working, Flowchart, Examples, Program
Best C Programming Tutorials : • Programming in C
*******************************************
Connect & Contact Me:
My Second Channel Link: bit.ly/354n7C7
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/...
Instagram: / jayantikhatrilamba
Twitter: / khatrijenny
*********************************************
More Playlists:
C++ Programming Tutorials: • Lec 1: How to Install ...
Placement Series: • Placements Series
Data Structures and Algorithms: https: • Data Structures and Al...
Design and Analysis of Algorithms(DAA): • Design and Analysis of...
Python Full Course: • Python - Basic to Advance
Printing Pattern in C: • Printing Pattern Progr...
Dynamic Programming: • Dynamic Programming
Operating Systems: // • Operating Systems
DBMS: • DBMS (Database Managem...
#cprogramming #jennyslectures #programming #clanguage #controlstatements #nestedif

Пікірлер: 314
@chinweijeomaijy
@chinweijeomaijy 2 жыл бұрын
The help you have rendered with these videos knows no bounds. Thank you so much, Tutor Jenny
@akshaychavan3597
@akshaychavan3597 3 жыл бұрын
first time in 5 years, I am getting most of my concepts clear. this series is awesome.
@kingpiccolo3070
@kingpiccolo3070 2 жыл бұрын
5 saal se first year me hai kya lamde
@hdmovies2515
@hdmovies2515 Жыл бұрын
Really good
@AbhishekSahu-z1e
@AbhishekSahu-z1e 2 ай бұрын
@@akshaychavan3597 hey brother what are you doing this time job or another work
@akshaychavan3597
@akshaychavan3597 2 ай бұрын
@@AbhishekSahu-z1e yes, it's a job. Why do you ask ?
@shaivistuti7718
@shaivistuti7718 2 жыл бұрын
Thanks a lot, mam!!!!! I am a 10th grader and I have IT classes, in school and we were learning c programming I missed a class in which nested if statement was taught...I forgot to ask my teacher and tomorrow is my exam!!!! Your explanation worked wonders for me...Thanks a ton!!!!
@reena3399
@reena3399 3 жыл бұрын
Mam I didn't even know what is c But mam with the support of u I learnt every basics things about programs
@IndainOTT
@IndainOTT Ай бұрын
✅Hey mam what is Lamba🤷😊
@bommaniraveendrababu9257
@bommaniraveendrababu9257 3 жыл бұрын
I never learnt any thing from my lectures every thing learnt from your videos thank you mam
@justicejuwa7199
@justicejuwa7199 Жыл бұрын
Thank you so much Jenny, you just simplify my cs50 course. This is so helpful and i love your traditional way of teaching.
@agboemmanuella8302
@agboemmanuella8302 Жыл бұрын
the best tutor in the world, God bless u dear Jenny
@ankushmondal1326
@ankushmondal1326 3 жыл бұрын
Mam u are genius I does not understand the matter of nested if statement. Then I watch your video. Even I confidently say that I understand the matter. Thank you so mach mam
@rohitsunariya8469
@rohitsunariya8469 3 жыл бұрын
#include int main(){ int a,b,c; printf("Enter the three numbers:"); scanf("%d %d %d",&a,&b,&c); if(a>b) { if(a>c) printf("%d is largest",a); else printf("%d is largest",c); } else { if(b>c) printf("%d is largest",b); else printf("%d is largest",c); } return 0; }
@EasyLearnAmanchauhan
@EasyLearnAmanchauhan 2 жыл бұрын
👍
@abhaysharma3270
@abhaysharma3270 2 жыл бұрын
perfact
@fantatrawally4034
@fantatrawally4034 2 жыл бұрын
Very good
@babluranga1421
@babluranga1421 2 жыл бұрын
Text book answer
@clashbegins2063
@clashbegins2063 2 жыл бұрын
@@babluranga1421 bro its too lengthy see use the logical and #include int main() { int a,b,c; printf("enter three numbers"); scanf("%d %d %d",&a,&b,&c); if (a>b && a>c) printf("%d is the greatest number",a); if (b>c && b>a) printf("%d is the greatest number",b); if (c>b && c>a) printf("%d is the greatest number",c); }
@graphicslearn8568
@graphicslearn8568 3 жыл бұрын
its for beginner what about advance Maam your teaching method is supper say bahot uper.
@deepakumar01
@deepakumar01 2 жыл бұрын
You are very experienced teacher so good teaching thank you ma'am.
@naveen1001
@naveen1001 2 жыл бұрын
//Write a C program to find maximum between three numbers. #include int main() { int a,b,c; a=b=c=0; printf("Enter 1st number: "); scanf("%d",&a); printf("Enter 2nd number: "); scanf("%d",&b); printf("Enter 3rd number: "); scanf("%d",&c); if(a>b) { if(a>c) { printf("%d is greater",a); } else { printf("%d is greater",c); } } else { if(b>c) { printf("%d is greater",b); } else { printf("%d is greater",c); } } } Thank you mam :) for your Efforts.... Love from Khammam..
@athletesone01
@athletesone01 3 жыл бұрын
U usually gives explanation with ur heart core thanks mam
@VishalKumar__1617
@VishalKumar__1617 2 күн бұрын
Let the three no. Be- A,B,C If(A>B) {If (A>C) Printf("max of the three no. Is A"); Else if(B>A) {If(B>C) Printf("max is B"); Else Printf("max is C");
@arifpatan7180
@arifpatan7180 2 жыл бұрын
Mam you are Explanation is Good on c-programming i am easily understand that concept Nested if Thank you mam you are teach very well.
@SuganthiUmaMagesh
@SuganthiUmaMagesh 5 ай бұрын
If(a>b) {. If(a>c) { printf("a is big"); } else { printf("c is big") } } else { prinf(" b is big") }
@prashanthmudunuri6451
@prashanthmudunuri6451 2 жыл бұрын
really u are good at programing i seen all vedios of u it is very use full to me
@patricktafeu3762
@patricktafeu3762 8 ай бұрын
Hihgly better explained more my Lecturer. thanks a lot Madam!
@ajinkyaabegaonkar7628
@ajinkyaabegaonkar7628 8 ай бұрын
Thank you ma'am for teaching in easy way
@ajinkyaabegaonkar8806
@ajinkyaabegaonkar8806 10 ай бұрын
Maximum no program executed. Thank ma'am for teaching this.
@BiqSam2002
@BiqSam2002 10 ай бұрын
Me after lecture if i have doubts 💨🏃‍♂🏃‍♂ to jenny's lectures anyways thanks so much🙏🙏🙏
@tayyabbashir3936
@tayyabbashir3936 Жыл бұрын
Aoa Your Teaching Method is so good 👍
@RampatiKori-f3m
@RampatiKori-f3m Жыл бұрын
Your lectures are very helpful for us
@janetawujia-dd9jl
@janetawujia-dd9jl Ай бұрын
Thanks tutor Jenny for the lectures
@aditya_17181
@aditya_17181 2 жыл бұрын
SuperMarket example helps me to understand 🤗🤗
@Shubham-wy2bo
@Shubham-wy2bo 3 жыл бұрын
Your teaching technique is so great Mam.
@ayushisoni4936
@ayushisoni4936 2 жыл бұрын
Mam I had solved the assignment given by you to find maximum of two numbers
@Helly04
@Helly04 Жыл бұрын
3 numbers,find maximum among 3 numbers using nested if
@suseelamutina2471
@suseelamutina2471 8 ай бұрын
Mam, when you have used same if for both conditions if the age condition is false i.e less than 50 then the salary will be incremented 5000 but it should be only 3000 know.
@sunnyma2750
@sunnyma2750 Жыл бұрын
Wow! Mam,you are the best**⭐
@RealisticPowerPDKVian190702
@RealisticPowerPDKVian190702 3 жыл бұрын
Assignment work done ✅ void main() { float A, B, C; printf(“Enter three values ”); scanf(“%f %f %f ”,&A, &B, &C); printf(“ Largest value is:”); if(A > B) { if(A > C) printf(“%f ”,A); else printf(“%f ”,C); } else { if(C > B) printf(“%f ”,C); else printf(“%f ”,B); } } OUTPUT Enter three values: 5 8 24 Largest value is 24 😊😊✌️
@nasscim
@nasscim 2 жыл бұрын
well thanks , i didn't know you can include if in else
@VivekKumar-ib9cc
@VivekKumar-ib9cc Жыл бұрын
//Edited://Task done mam! //Edited://Code for greatest among three no. by if and else. include void main(){ int a,b,c; printf("Enter your first no.="); scanf("%d",&a); printf("Enter your second no.="); scanf("%d",&b); printf("Enter your third no.="); scanf("%d",&c); if(a>b){ if(a>c){ printf("First no. is greatest "); } } else{ printf("First no. is smallest "); } if(b>a){ if(b>c){ printf("Second no. is greatest "); } } else{ printf("Second no. is smallest "); } if(c>a){ if(c>b){ printf("Third no. is greatest "); } } else{ printf("Third no. is smallest "); } }
@isaac-victorshonowo1838
@isaac-victorshonowo1838 Жыл бұрын
Watched and Understood ❤
@ujjwalsingh4414
@ujjwalsingh4414 2 жыл бұрын
Mam in these if we write two programs with logical "and" ooerator then if anyone is false then it directly goes to outer else ( don't go on inner else ) and but if we write both conditions seperately in two if manner then only we get inner else statement when inner if statement became false . Check this on 15:04 in your video you say wrong I think please make me correct if I wrong otherwise the correct video ❤️
@vanshsingh4931
@vanshsingh4931 Жыл бұрын
Yes I also got the same doubt. Have you got the solution to it?
@petereziagor4604
@petereziagor4604 2 жыл бұрын
Happy that I did the assignment in two ways, if-else statement and with ternary operators, feels good.
@HAMITHRAB
@HAMITHRAB Ай бұрын
semma
@HAMITHRAB
@HAMITHRAB Ай бұрын
please send that program to me
@maheshkhare8776
@maheshkhare8776 2 жыл бұрын
Your teaching method is very nice.if once set in mind your lectures it Can never forget. And one more thing ते fast writing चा आवाज खूप भारी दिलाय.😅😅
@Phupsang
@Phupsang 8 ай бұрын
Thankyou aunty aab me pass hojaunga 😮
@ashokdhavhan6496
@ashokdhavhan6496 Жыл бұрын
Thank you 😊💕 mam so much this solved my doubts you explained so good
@vrushabhdabhi5754
@vrushabhdabhi5754 3 жыл бұрын
Hello ma'am this is quite useful series your videos are the best i have never seen before like this type of explanation of each topic And 1 question how many sweaters and jersies do you have ??
@Kishore_kumar7735
@Kishore_kumar7735 2 жыл бұрын
Mam..your look ..your voice all are similar with Neha mam.....vedantu maths teacher ♥️
@3v1lm4nipul4t0r
@3v1lm4nipul4t0r Жыл бұрын
You are an Angel sent from heaven
@amairapandey8047
@amairapandey8047 2 жыл бұрын
Ma'am thank you so much for such an amazing c language lectures.. You helped me a lot...😃 Thank you so much maam..❤ Maam plzz c++ ki playlist complete kr dejiye.. We are waiting...
@yusufahmad-wn5ut
@yusufahmad-wn5ut Жыл бұрын
Ai Bata jin hausa
@meeranfais7996
@meeranfais7996 3 жыл бұрын
That was great really to clear out my all confusions 😃. I prefer Everyone should learn from your channel. Lots of love from Balochistan❤. Thank you so much mam. God bless u ever. ❤❤
@indukunthipuram
@indukunthipuram 11 ай бұрын
If we write many conditions using logical and in if statement then it is not more called nested if right mam..?
@AswanthSKrishna
@AswanthSKrishna 2 жыл бұрын
Mam really you are awesome. I was struggling to get idea and you explained very simply 😊
@ComputerScienceSimplified
@ComputerScienceSimplified 3 жыл бұрын
Awesome video, keep up the great work! :)
@Darshan.R2005
@Darshan.R2005 Ай бұрын
madam if we use two conditions by using and operater in first if statement then what is the use of else in first parenthesis of if statements bcoz in first if statement is false it will jump to else after first parenthesis so pls can u clarify this ..
@sanskarkhandelwal
@sanskarkhandelwal Жыл бұрын
Just learning c thx mam
@fitnesscrackchannel1911
@fitnesscrackchannel1911 8 ай бұрын
Thank u mam for thinking much about us
@eashwarkancharla2935
@eashwarkancharla2935 2 жыл бұрын
Thanks for clearing my doubt maam
@karishmauma1196
@karishmauma1196 2 жыл бұрын
thankyou soo much mam !! your the best
@uzrakhanum7596
@uzrakhanum7596 2 жыл бұрын
Explain the condition 2 what if it is false and if there is any local variable how is the control flow
@sihi__
@sihi__ 3 жыл бұрын
Ma'am please start classes on java programming language too 💙
@manpreetkaur-dk5mm
@manpreetkaur-dk5mm 3 жыл бұрын
I HAVE DONE THIS PROGRAM WITH ONE STATEMENT BY USING LOGICAL OPERATOR &&.
@Mizi_Love_1918
@Mizi_Love_1918 3 жыл бұрын
example was best
@Motu_ki_mastii
@Motu_ki_mastii 2 жыл бұрын
Video starts at 2:35
@vce-rachanaodhela4455
@vce-rachanaodhela4455 3 жыл бұрын
Thank you Mam for ur awesome teaching
@praveenthammishetti6342
@praveenthammishetti6342 4 ай бұрын
#include Void main() { int a,b,c; Printf("Enter three numbers"); Scanf("%d%d%d",&a,&b,&c); If(b>a) { If(b>c) { Printf("The greatest number is b"); } Else { Printf("The greatest number is c"); } } Else If(a>b) { If(a>c) { Printf("The greatest number is a"); } Else { Printf("The greatest number is c"); } } }
@Sanjeev_90s_kid
@Sanjeev_90s_kid 3 жыл бұрын
int main() { int a,b,c; printf("enter three numbers:"); scanf("%d %d %d",&a,&b,&c); if(a>b) { if(a>c) printf("a is the largest"); else printf("c is the largest"); } else printf("b is the largest"); }
@geethak8810
@geethak8810 2 жыл бұрын
its wrong bro
@upscallmydream
@upscallmydream 3 жыл бұрын
Thanks from kashmir
@tusharsrivastava3498
@tusharsrivastava3498 Жыл бұрын
If. We will do it on 16 bit compiler the output of program will be unpredictable as we are using salary as int.
@deepaksharma3244
@deepaksharma3244 3 ай бұрын
Mam, for printing the updated salary like suppose 55000 if we enter the amount as 45000 , you haven't used printf for that updated salary hence output cannot be displayed on screen
@TIMELESS_FRIEND
@TIMELESS_FRIEND 9 ай бұрын
❤ meet in jannah mam
@sruthibathula131
@sruthibathula131 3 жыл бұрын
I got the maximum among three numbers mam
@ImmanuelKihng
@ImmanuelKihng 29 күн бұрын
Nice explain
@nagendrabommireddi8437
@nagendrabommireddi8437 3 жыл бұрын
Thank u mam.these videos r very helpful ...
@236__kumarmanvendra6
@236__kumarmanvendra6 2 жыл бұрын
mam in this programme you have forgoted to write salary=salary+X; printf("%d is the salary",salary);
@shivajikadam6740
@shivajikadam6740 2 жыл бұрын
Mam you are incredible👍😍
@kishoyannason5958
@kishoyannason5958 3 жыл бұрын
Thanks madam hopes to join India soon
@Mehedihasan-rahat
@Mehedihasan-rahat Ай бұрын
Dear madam is it possible to convert nested if else condition into ternary operator because we know ternary operator is one type of if else replica.. so if yes than plz requesting you to provide explanation in detail... Thanku and god bless 😊😊😊
@cyanical_storm908
@cyanical_storm908 2 жыл бұрын
Excellent 😊
@aniketmane2887
@aniketmane2887 3 жыл бұрын
Superb explanation 👍
@sherazhussain2937
@sherazhussain2937 3 жыл бұрын
So nice explanation ❤️
@akash.553
@akash.553 3 жыл бұрын
What is the difference between 200>A>100 And 200>A&&A>100
@girishmintu3152
@girishmintu3152 3 жыл бұрын
&& acts as a operator i guess
@venkataramsai3226
@venkataramsai3226 3 жыл бұрын
Nice explanation ❤️❤️❤️👍👍👍
@sachincs9338
@sachincs9338 3 жыл бұрын
can we use else if to write a program to find greatest of 3 numbers
@reena3399
@reena3399 3 жыл бұрын
It's amazing mam
@reena3399
@reena3399 3 жыл бұрын
Thank you mam so much❤️❤️❤️❤️❤️😘😘😘
@sayirikavya5873
@sayirikavya5873 2 жыл бұрын
Madam can we use inner if condition in else condition of nested if
@sanjanapanwar3844
@sanjanapanwar3844 3 жыл бұрын
ma'am in single if we can' t use double else,it will give error
@VinaySharma-iv2sf
@VinaySharma-iv2sf 3 жыл бұрын
yessss, how to fix?
@harshtalware7831
@harshtalware7831 3 жыл бұрын
Then again use if instead of second else
@snazakatkhan5972
@snazakatkhan5972 3 жыл бұрын
leaps are in motion ocean to ocean to ocean
@uttej1390
@uttej1390 3 жыл бұрын
Lec starts 2:33
@aniketkumar3126
@aniketkumar3126 3 жыл бұрын
Great effort maaaaaammmm
@janakiisajeev
@janakiisajeev 3 жыл бұрын
Your videos are awesome 🥂🌈
@hdmovies2515
@hdmovies2515 Жыл бұрын
Really good 👍
@athletesone01
@athletesone01 3 жыл бұрын
Thnku so much 👍🏼👍🏼
@clashbegins2063
@clashbegins2063 2 жыл бұрын
mam favourite fruit is chinu
@abhishekgiri7925
@abhishekgiri7925 3 жыл бұрын
Woww nice explanation
@premraj1456
@premraj1456 3 жыл бұрын
Great work mam
@anju7334
@anju7334 2 жыл бұрын
Thankyou mam ❤️❤️
@dipanshusaini8832
@dipanshusaini8832 3 жыл бұрын
Logical and one more condition
@kumaravelg3813
@kumaravelg3813 2 жыл бұрын
Mam,Why you have written getch mam
@raghuveera5650
@raghuveera5650 Жыл бұрын
Printf("madam is beautiful ") ;
@RampatiKori-f3m
@RampatiKori-f3m Жыл бұрын
😂
@Karthikreddy63
@Karthikreddy63 2 жыл бұрын
Thank u so much maam
@musicallyinclined5550
@musicallyinclined5550 3 жыл бұрын
challenge accepted I will try my best
@hoshyriko1104
@hoshyriko1104 Жыл бұрын
That last else will show error misplaced else
@ITCE2018
@ITCE2018 2 жыл бұрын
Excellent
@meenaghezalamini6253
@meenaghezalamini6253 6 ай бұрын
when I am using the program of salary and age with the and logical operator it if giving me error what is the problem?
@RamSastry-n3j
@RamSastry-n3j Жыл бұрын
To find maximum among 3 numbers #include int main(){ int a,b,c; printf("Enter three numbers"); scanf("%d%d%d",&a&b&c); if (a>b) { if (a>c ) printf("%d,is largest ",a); else printf("%d,is largest ",b); } if (b>a) { if (b>c) printf ("%d is largest ",b); printf("%d is largest ",c); } return 0; }
@Adityaverma-mr5cs
@Adityaverma-mr5cs Жыл бұрын
Amazing ❤❤
@durgfestivalvibes
@durgfestivalvibes 3 жыл бұрын
Thankyou thankyou very much!!!$$
C_30 else if ladder in C | C Programming Tutorials
13:53
Jenny's Lectures CS IT
Рет қаралды 183 М.
C_31 Switch Statement In C | C Programming Tutorials
22:48
Jenny's Lectures CS IT
Рет қаралды 300 М.
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 21 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,5 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 30 МЛН
C_28 If-Else Statement in C | C Programming Tutorials
11:17
Jenny's Lectures CS IT
Рет қаралды 218 М.
C_33 Introduction to Loop in C Language | Need of loops| C Language Tutorials
15:55
C_27 If Statement in C | C Programming Tutorials
20:56
Jenny's Lectures CS IT
Рет қаралды 422 М.
How I Trick My Brain to Wake Up 3:04 AM Everyday?| Huberman Method
14:01
Rahuram Chanthrakumar
Рет қаралды 35 М.
C_43 Need of Nested Loops in C | Nested For loop in C
18:31
Jenny's Lectures CS IT
Рет қаралды 651 М.
C_17 Operators in C - Part 5 (Logical Operators) |  C Programming Tutorials
20:51
Jenny's Lectures CS IT
Рет қаралды 251 М.
C_42 Continue Statement in C | C Programming Tutorials
15:31
Jenny's Lectures CS IT
Рет қаралды 140 М.
How I Get MORE DONE Than 99% Of People!
6:28
Mindy
Рет қаралды 212
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 21 МЛН