C_29 Nested If in C | C Programming Tutorials

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 316

  • @akshaychavan3597
    @akshaychavan3597 3 года назад +47

    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 Год назад +4

      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 ?

  • @chinweijeomaijy
    @chinweijeomaijy 2 года назад +28

    The help you have rendered with these videos knows no bounds. Thank you so much, Tutor Jenny

  • @shaivistuti7718
    @shaivistuti7718 2 года назад +3

    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!!!!

  • @bommaniraveendrababu9257
    @bommaniraveendrababu9257 3 года назад +8

    I never learnt any thing from my lectures every thing learnt from your videos thank you mam

  • @rohitsunariya8469
    @rohitsunariya8469 3 года назад +214

    #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 года назад +2

      👍

    • @abhaysharma3270
      @abhaysharma3270 2 года назад +2

      perfact

    • @fantatrawally4034
      @fantatrawally4034 2 года назад +2

      Very good

    • @babluranga1421
      @babluranga1421 2 года назад +7

      Text book answer

    • @clashbegins2063
      @clashbegins2063 2 года назад +50

      @@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);

      }

  • @reena3399
    @reena3399 3 года назад +11

    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 2 месяца назад

      ✅Hey mam what is Lamba🤷😊

  • @justicejuwa7199
    @justicejuwa7199 Год назад +2

    Thank you so much Jenny, you just simplify my cs50 course. This is so helpful and i love your traditional way of teaching.

  • @ankushmondal1326
    @ankushmondal1326 3 года назад +1

    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

  • @agboemmanuella8302
    @agboemmanuella8302 Год назад +2

    the best tutor in the world, God bless u dear Jenny

  • @athletesone01
    @athletesone01 3 года назад +4

    U usually gives explanation with ur heart core thanks mam

  • @arifpatan7180
    @arifpatan7180 2 года назад +1

    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.

  • @deepakumar01
    @deepakumar01 2 года назад +1

    You are very experienced teacher so good teaching thank you ma'am.

  • @graphicslearn8568
    @graphicslearn8568 3 года назад +7

    its for beginner what about advance Maam
    your teaching method is supper say bahot uper.

  • @naveen1001
    @naveen1001 2 года назад +3

    //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..

  • @SuganthiUmaMagesh
    @SuganthiUmaMagesh 6 месяцев назад +2

    If(a>b)
    {.
    If(a>c)
    {
    printf("a is big");
    }
    else
    {
    printf("c is big")
    }
    }
    else
    {
    prinf(" b is big")
    }

    • @funnygaming_1204
      @funnygaming_1204 День назад

      @@SuganthiUmaMagesh bhai wrong hai tera agar tu b ko a se bada daal dega toh Tera program run hi nhi krega same mistake maine kiya hai

  • @prashanthmudunuri6451
    @prashanthmudunuri6451 2 года назад

    really u are good at programing i seen all vedios of u it is very use full to me

  • @BiqSam2002
    @BiqSam2002 10 месяцев назад

    Me after lecture if i have doubts 💨🏃‍♂🏃‍♂ to jenny's lectures
    anyways thanks so much🙏🙏🙏

  • @tayyabbashir3936
    @tayyabbashir3936 2 года назад +2

    Aoa Your Teaching Method is so good 👍

  • @RealisticPowerPDKVian190702
    @RealisticPowerPDKVian190702 3 года назад +7

    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 года назад +2

      well thanks , i didn't know you can include if in else

  • @patricktafeu3762
    @patricktafeu3762 8 месяцев назад

    Hihgly better explained more my Lecturer. thanks a lot Madam!

  • @Shubham-wy2bo
    @Shubham-wy2bo 3 года назад +1

    Your teaching technique is so great Mam.

  • @ajinkyaabegaonkar7628
    @ajinkyaabegaonkar7628 8 месяцев назад

    Thank you ma'am for teaching in easy way

  • @VishalKumar__1617
    @VishalKumar__1617 8 дней назад

    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");

  • @VivekKumar-ib9cc
    @VivekKumar-ib9cc Год назад +20

    //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
    ");
    }
    }

  • @RampatiKori-f3m
    @RampatiKori-f3m Год назад

    Your lectures are very helpful for us

  • @aditya_17181
    @aditya_17181 2 года назад +7

    SuperMarket example helps me to understand 🤗🤗

  • @ComputerScienceSimplified
    @ComputerScienceSimplified 3 года назад +11

    Awesome video, keep up the great work! :)

  • @isaac-victorshonowo1838
    @isaac-victorshonowo1838 Год назад

    Watched and Understood ❤

  • @janetawujia-dd9jl
    @janetawujia-dd9jl Месяц назад

    Thanks tutor Jenny for the lectures

  • @Phupsang
    @Phupsang 8 месяцев назад

    Thankyou aunty aab me pass hojaunga 😮

  • @ajinkyaabegaonkar8806
    @ajinkyaabegaonkar8806 10 месяцев назад

    Maximum no program executed.
    Thank ma'am for teaching this.

  • @Helly04
    @Helly04 Год назад +1

    3 numbers,find maximum among 3 numbers using nested if

  • @sunnyma2750
    @sunnyma2750 Год назад +1

    Wow! Mam,you are the best**⭐

  • @meeranfais7996
    @meeranfais7996 3 года назад +1

    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. ❤❤

  • @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 चा आवाज खूप भारी दिलाय.😅😅

  • @3v1lm4nipul4t0r
    @3v1lm4nipul4t0r Год назад

    You are an Angel sent from heaven

  • @vrushabhdabhi5754
    @vrushabhdabhi5754 3 года назад +6

    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 ??

  • @ashokdhavhan6496
    @ashokdhavhan6496 Год назад

    Thank you 😊💕 mam so much this solved my doubts you explained so good

  • @AswanthSKrishna
    @AswanthSKrishna 2 года назад

    Mam really you are awesome. I was struggling to get idea and you explained very simply 😊

  • @Motu_ki_mastii
    @Motu_ki_mastii 2 года назад +1

    Video starts at 2:35

  • @ayushisoni4936
    @ayushisoni4936 2 года назад

    Mam I had solved the assignment given by you to find maximum of two numbers

  • @petereziagor4604
    @petereziagor4604 2 года назад +1

    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

  • @sanskarkhandelwal
    @sanskarkhandelwal Год назад

    Just learning c thx mam

  • @TIMELESS_FRIEND
    @TIMELESS_FRIEND 9 месяцев назад +1

    ❤ meet in jannah mam

  • @amairapandey8047
    @amairapandey8047 2 года назад +3

    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...

  • @fitnesscrackchannel1911
    @fitnesscrackchannel1911 8 месяцев назад

    Thank u mam for thinking much about us

  • @karishmauma1196
    @karishmauma1196 2 года назад +1

    thankyou soo much mam !! your the best

  • @Kishore_kumar7735
    @Kishore_kumar7735 2 года назад

    Mam..your look ..your voice all are similar with Neha mam.....vedantu maths teacher ♥️

  • @ujjwalsingh4414
    @ujjwalsingh4414 2 года назад +6

    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?

  • @Mizi_Love_1918
    @Mizi_Love_1918 3 года назад +2

    example was best

  • @eashwarkancharla2935
    @eashwarkancharla2935 2 года назад

    Thanks for clearing my doubt maam

  • @vce-rachanaodhela4455
    @vce-rachanaodhela4455 3 года назад +1

    Thank you Mam for ur awesome teaching

  • @suseelamutina2471
    @suseelamutina2471 9 месяцев назад +1

    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.

  • @uttej1390
    @uttej1390 3 года назад +6

    Lec starts 2:33

  • @upscallmydream
    @upscallmydream 3 года назад +1

    Thanks from kashmir

  • @ImmanuelKihng
    @ImmanuelKihng Месяц назад

    Nice explain

  • @nagendrabommireddi8437
    @nagendrabommireddi8437 3 года назад +1

    Thank u mam.these videos r very helpful ...

  • @sruthibathula131
    @sruthibathula131 3 года назад +1

    I got the maximum among three numbers mam

  • @aniketmane2887
    @aniketmane2887 3 года назад +1

    Superb explanation 👍

  • @kishoyannason5958
    @kishoyannason5958 3 года назад

    Thanks madam hopes to join India soon

  • @Sanjeev_90s_kid
    @Sanjeev_90s_kid 3 года назад +2

    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");
    }

  • @sherazhussain2937
    @sherazhussain2937 3 года назад +1

    So nice explanation ❤️

  • @manpreetkaur-dk5mm
    @manpreetkaur-dk5mm 3 года назад +2

    I HAVE DONE THIS PROGRAM WITH ONE STATEMENT BY USING LOGICAL OPERATOR &&.

  • @shivajikadam6740
    @shivajikadam6740 2 года назад

    Mam you are incredible👍😍

  • @cyanical_storm908
    @cyanical_storm908 2 года назад +1

    Excellent 😊

  • @praveenthammishetti6342
    @praveenthammishetti6342 5 месяцев назад +2

    #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");
    }
    }
    }

  • @venkataramsai3226
    @venkataramsai3226 3 года назад +1

    Nice explanation ❤️❤️❤️👍👍👍

  • @reena3399
    @reena3399 3 года назад +1

    Thank you mam so much❤️❤️❤️❤️❤️😘😘😘

  • @sihi__
    @sihi__ 3 года назад +7

    Ma'am please start classes on java programming language too 💙

  • @reena3399
    @reena3399 3 года назад +1

    It's amazing mam

  • @athletesone01
    @athletesone01 3 года назад

    Thnku so much 👍🏼👍🏼

  • @indukunthipuram
    @indukunthipuram 11 месяцев назад +1

    If we write many conditions using logical and in if statement then it is not more called nested if right mam..?

  • @dipanshusaini8832
    @dipanshusaini8832 3 года назад

    Logical and one more condition

  • @anju7334
    @anju7334 3 года назад +1

    Thankyou mam ❤️❤️

  • @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.

  • @ITCE2018
    @ITCE2018 2 года назад

    Excellent

  • @janakiisajeev
    @janakiisajeev 3 года назад +1

    Your videos are awesome 🥂🌈

  • @Karthikreddy63
    @Karthikreddy63 2 года назад

    Thank u so much maam

  • @uzrakhanum7596
    @uzrakhanum7596 2 года назад +1

    Explain the condition 2 what if it is false and if there is any local variable how is the control flow

  • @dmtiwari7097
    @dmtiwari7097 Год назад

    I
    will solve it

  • @abhishekgiri7925
    @abhishekgiri7925 3 года назад

    Woww nice explanation

  • @premraj1456
    @premraj1456 3 года назад

    Great work mam

  • @aishwaryasagade4466
    @aishwaryasagade4466 8 месяцев назад

    Thankkkkkk youuuuu mammmmm😭❤️🥹

  • @durgfestivalvibes
    @durgfestivalvibes 3 года назад +1

    Thankyou thankyou very much!!!$$

  • @Darshan.R2005
    @Darshan.R2005 2 месяца назад +1

    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 ..

  • @pawankumarpal1115
    @pawankumarpal1115 3 года назад +1

    Great..

  • @snazakatkhan5972
    @snazakatkhan5972 3 года назад

    leaps are in motion ocean to ocean to ocean

  • @aniketkumar3126
    @aniketkumar3126 3 года назад

    Great effort maaaaaammmm

  • @musicallyinclined5550
    @musicallyinclined5550 3 года назад

    challenge accepted
    I will try my best

  • @Adityaverma-mr5cs
    @Adityaverma-mr5cs Год назад

    Amazing ❤❤

  • @Abhishekog74
    @Abhishekog74 Год назад

    I need notes

  • @raghuveera5650
    @raghuveera5650 Год назад +1

    Printf("madam is beautiful ") ;

  • @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 😊😊😊

  • @clashbegins2063
    @clashbegins2063 2 года назад

    mam favourite fruit is chinu

  • @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

  • @AMANSINGH-om1dc
    @AMANSINGH-om1dc 3 года назад

    thanks

  • @ANKITKUMAR-jg1lb
    @ANKITKUMAR-jg1lb 3 года назад

    top class

  • @236__kumarmanvendra6
    @236__kumarmanvendra6 2 года назад

    mam in this programme you have forgoted to write
    salary=salary+X;
    printf("%d is the salary",salary);

  • @sachincs9338
    @sachincs9338 3 года назад +1

    can we use else if to write a program to find greatest of 3 numbers

  • @continnum_radhe-radhe
    @continnum_radhe-radhe 2 года назад +1

    🔥🔥🔥