16 - NESTED IF - C PROGRAMMING

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

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

  • @cjoy2037
    @cjoy2037 4 года назад +7

    Your explanation is so clear understandable we gain well knowledge from you ....thanks alot sir

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

    Your explanation with examples is interesting sir and thank you for establishing of your RUclips channel

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

    Thanku! very much sir
    The way of your explanation is very nice.

  • @anuarchuanuarchu8752
    @anuarchuanuarchu8752 3 месяца назад

    Crystal clear explanation sir!

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

    your explanation is perfect Sir,thanks so much......!

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

    ur explanation is very clear to understand the concept sir,thank you so much.

  • @Phaneendra_raagu
    @Phaneendra_raagu 6 лет назад +1

    Tq bro superb explanation
    Better than the best 😉😉

  • @sourav_krishna.
    @sourav_krishna. 3 года назад +4

    sir I am from kerala your class is well explained thank you for your interesting class

  • @aishwaryamujage4836
    @aishwaryamujage4836 5 лет назад +1

    Superb.explanation technique sir
    Thank u so much

  • @Vasanth-vr5vt
    @Vasanth-vr5vt 6 лет назад

    super ji super ji super ji...Awesome LECTURER ......

  • @mandarpisal3397
    @mandarpisal3397 5 лет назад +2

    Sir u are really a great teacher😃

  • @TAYOTECcorp
    @TAYOTECcorp 6 лет назад +4

    really a good learning experience

  • @huzaif767
    @huzaif767 6 лет назад +2

    thank you sir thank you so much ....my teacher teaches me but also sir i watch your lectures...

    • @sundeepsaradhi
      @sundeepsaradhi  6 лет назад +1

      hi
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

  • @ankitkumarnayak3422
    @ankitkumarnayak3422 11 месяцев назад

    Clearly understood the concept 🙏

  • @TausifAnsari-jw7le
    @TausifAnsari-jw7le 6 лет назад +2

    Awesome 👌👍

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

    Tq sir for ur explanation...☺️

  • @smdarshadali9932
    @smdarshadali9932 5 лет назад +1

    thankyou sir.
    love you sir
    thank you thank you very much

  • @abdirashidosman6750
    @abdirashidosman6750 6 лет назад +1

    thank you sir thank you so much for ur great explanation

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

    Tq sir very neat explanation

  • @Natasha-jc7gp
    @Natasha-jc7gp 4 года назад

    can we put calculation statement after the first " if "? then we put " if " after that..
    if .......... THEN
    ..............
    if ................
    like this?

  • @aachalparaye220
    @aachalparaye220 5 лет назад

    Nice explanation sir 👍👍

  • @joba.textiles
    @joba.textiles 5 лет назад +1

    Thank you so much sir 😊😊😊

  • @MK-gr4ue
    @MK-gr4ue 6 лет назад +2

    Tnk u sir... U teach very well...

    • @sundeepsaradhi
      @sundeepsaradhi  6 лет назад

      Thank you megha share my sessions to your friends and let them subscribe to our channel

    • @MK-gr4ue
      @MK-gr4ue 6 лет назад

      Sure sir....

  • @strongest324
    @strongest324 6 лет назад +1

    Thank you very much sir!!

  • @maddampravalika3362
    @maddampravalika3362 4 года назад +2

    If (n1>n2)
    {
    If (n1>n3)
    {
    Printf ( " n1 is large) ;
    }
    Else
    {
    Printf ( "n3 is large") ;
    }
    }
    Where ,n1 = 30
    n2 = 20
    n3 = 40 which part we will take pls tell me

  • @AkshayNandanwar-k5c
    @AkshayNandanwar-k5c Год назад

    sir, can u please explain this to me -> According to the Gregorian calendar, it was Monday on the
    date 01/01/1900. If any year is input through the keyboard
    write a program to find out what is the day on 1st January of
    this year

  • @Pooja-jd6jc
    @Pooja-jd6jc 4 года назад

    In this program why can't we use int main

  • @deepikas9674
    @deepikas9674 6 лет назад +1

    thank you sir

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

    in decision control statements topic you told don't write condition in else statement but in the nested if topic you wrote condition under the else, can you explain sir.

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

      Under else again we have written condition in if part

  • @anannyaguha9487
    @anannyaguha9487 5 лет назад +2

    Sir can you please upload a video to find frequency of appearing an element in an array. Like how many numbers are occurring the number of times.

  • @chappativijayalakshmi1767
    @chappativijayalakshmi1767 6 лет назад +2

    thank u very much sirr well teaching

    • @sundeepsaradhi
      @sundeepsaradhi  6 лет назад

      hi
      thanks for your interest towards our channel and share my sessions with
      your friends and subscribe to our channel.Keep following our channel.

  • @srinuvasaraoburadapati3749
    @srinuvasaraoburadapati3749 6 лет назад +1

    sir suuuuper class. tq so much sir

    • @sundeepsaradhi
      @sundeepsaradhi  6 лет назад

      hi srinuvasarao
      thanks for watching my sessions and thanks for your interest and support towards our channel.keep following my sessions.

  • @Pooja-jd6jc
    @Pooja-jd6jc 4 года назад

    Sir,when I executed this I got error like return type default to int

  • @96chaymaa
    @96chaymaa 5 лет назад +1

    Thank u 👍🏼👍🏼👍🏼👍🏼🤩🤩

  • @curocity9371
    @curocity9371 5 лет назад +1

    Love it..

  • @MohanKumar-zb3be
    @MohanKumar-zb3be 6 лет назад

    I need the nested if only sir.you are saying nested if else.please sir tell the nested if alone

  • @manohargoud9356
    @manohargoud9356 5 лет назад

    In second example directly wrote scan f (is it correct)

  • @janvibhanushali5682
    @janvibhanushali5682 4 года назад

    Thank you so much sir..

  • @rohanjawale2189
    @rohanjawale2189 6 лет назад +2

    Can't we use logical operator OR

    • @sundeepsaradhi
      @sundeepsaradhi  6 лет назад

      hi rohan
      yes you can use it.
      thanks for your interest towards our channel and share my sessions with
      your friends and subscribe to our channel.Keep following our channel.

  • @gauravbhatia2762
    @gauravbhatia2762 6 лет назад +3

    Sir what is the difference between void main, main and Int main

    • @sundeepsaradhi
      @sundeepsaradhi  6 лет назад +1

      hi gaurav
      void main() means that the functions main() does not return a value.
      int main() makes sure your program can return a value of type int to the OS

    • @ramuganesan
      @ramuganesan 4 года назад

      i also have this doubt. I thank you for asking this doubt to sir

  • @dhanajaydhanu8389
    @dhanajaydhanu8389 6 лет назад +3

    Hi sir
    In previous video u told, in else part we should not write any conditional operator. In nested if you are writing.plz explain...

    • @sundeepsaradhi
      @sundeepsaradhi  6 лет назад +2

      hi dhanajay
      my intention is we should not write any condition beside the ELSE as we are writing in IF.
      if we want to check the condition in ELSE we are supposed to use IF statement.
      Hope your doubt has been clarified.
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

  • @ashayfernandes4722
    @ashayfernandes4722 7 лет назад +2

    sir plzzzz help,
    in one of the program on formated output ,
    if y is declared as int and given a value of 98.7654
    under the format specifier%f it shows the output ad 98.765404
    why is that?
    sir plzzzz reply

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад

      Hi ashay fernandes i have executed the following code and i got 0.0 becoz variable declared as int and if you print y with %f the result will be 0 and if you declared y as float and assigned the value 98.7654 and if you print the same with %f then you will get 98.765404 becoz float variable will allow upto 6 precisions that mean 6 values after the decimal point.
      Prog1:
      #include
      main()
      {
      float y=98.7654;
      printf("%d",y);
      }
      Output : 0.000000
      Prog2:
      #include
      main()
      {
      float y=98.7654;
      printf("%f",y);
      }
      Output : 98.765404

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад

      Sorry in the prog1 declare y as int

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад

      hi ashay
      coming to the floating point as its precision is upto 6 decimals, its value will not be absolute there would be small deviation from its absolute value so you may get the result some times 98.765404 instead of 98.765400

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад

      hi ASHAY
      i would like to have a FEEDBACK ( in the form of video not more than 15 sec) from you towards our channel and my sessions.so that i will collect feedbacks from all and will upload in youtube,
      Send your valuable FEEDBACK to my WhatsApp number : +91 9885466061 (91 is the country code)
      waiting for your valuable feedback.
      ruclips.net/user/sundeepsaradhi
      SO MAKE A VIDEO WITH FEEDBACK ON OUR CHANNEL AND SEND AS SOON AS POSSIBLE

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

    Can we use else if instead of nested if sir ?

  • @anshulgujjar1605
    @anshulgujjar1605 7 лет назад +1

    Very nice

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад

      hi anshul
      thank you for your interest towards our channel and share my sessions with your friends and subscribe to my channel.

    • @eldapaul6838
      @eldapaul6838 7 лет назад

      Appliciated more

  • @mariselvi2718
    @mariselvi2718 4 года назад

    Hiii sir nested if else statement LA electricity code konjam sollithangalan

  • @ankamallaharishkumar8108
    @ankamallaharishkumar8108 7 лет назад +1

    Sir please wrote the definitions and the importance of that topic on black board

  • @saikanishka682
    @saikanishka682 6 лет назад +3

    Hello sir;This was a very fine class for me & I enjoyed ur lecture
    but i have an idea to take this much more interesting
    After teaching instead of checking the examples on the black board u should have shown it on a C editor
    Even though This was a fine class :D
    Thamk U sir.

    • @sundeepsaradhi
      @sundeepsaradhi  6 лет назад +1

      hi sai
      i thought the same but i failed to implement but in the coming videos i am trying to do that by executing in C editor.
      thanks for your interest towards our channel and share my sessions with
      your friends and subscribe to our channel.Keep following our channel.

  • @karnatilingarao4239
    @karnatilingarao4239 7 лет назад +1

    nested switch tell me about that

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад +5

      hi lingarao
      nested switch is very simple writing the switch with in the switch function and syntax will be same so depends on the problem statement we have to implement nested switch.
      #include
      main ()
      {
      /* local variable definition */
      int a = 100;
      int b = 200;
      switch(a)
      {
      case 100:
      printf("This is part of outer switch
      ", a );
      switch(b)
      {
      case 200:
      printf("This is part of inner switch
      ", a );
      }
      }
      printf("Exact value of a is : %d
      ", a );
      printf("Exact value of b is : %d
      ", b );
      }

  • @hassanjaved3209
    @hassanjaved3209 7 лет назад +2

    sir is my srf ap ny stdio.h wali header file lekhi lekin conio wali kyn nhi lekhi??

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад +2

      hi hassan
      i am sorry i dont know hindi plz communicate in english
      if you are using C compiler we need not include conio.h
      if you are using C++ compiler we have to include conio.h
      One thing Mouse pointer will be enabled in C++ compiler
      Mouse pointer is disabled in C compiler.

  • @samarg4708
    @samarg4708 5 лет назад

    Thank you sir

  • @RAKESHKUMAR-fc5lx
    @RAKESHKUMAR-fc5lx 4 года назад

    If anyone two values are equal what might be the ans 11:11

  • @arunyadav7467
    @arunyadav7467 5 лет назад

    sir upload video regularly of c++

  • @deepikas9674
    @deepikas9674 6 лет назад

    I have some ideas from your lecture

  • @biswajitchanda9661
    @biswajitchanda9661 6 лет назад +1

    Thank u sir

    • @sundeepsaradhi
      @sundeepsaradhi  6 лет назад

      hi biswajit
      thanks for your interest towards our channel and share my sessions with
      your friends and subscribe to our channel.Keep following our channel.

  • @krcpr007
    @krcpr007 4 года назад

    Op👍

  • @gurpreetKaur-sq7vc
    @gurpreetKaur-sq7vc 4 года назад

    Thnq sir

    • @rosh9318
      @rosh9318 4 года назад

      No mention mam 😂🤣

  • @ihtishamfarman7373
    @ihtishamfarman7373 7 лет назад +1

    Sir please find largest number amongst 5 using nested if

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад

      hi rana
      sure i will upload it soon.

    • @ihtishamfarman7373
      @ihtishamfarman7373 7 лет назад +1

      Sir can u please mail me the solution of this program because i have to submit this assignment..
      Ihtishamrana32@gmail.com

    • @ihtishamfarman7373
      @ihtishamfarman7373 7 лет назад

      Sir kindly its a request please.

    • @sundeepsaradhi
      @sundeepsaradhi  7 лет назад

      Hi Ihtisham Rana definitely I will try and send u the mail soon.

    • @ihtishamfarman7373
      @ihtishamfarman7373 7 лет назад +1

      Sundeep Saradhi thank u so much sir
      I shall be vary thankfull to u if u send me this solution till tonight

  • @जयश्रीराम-घ2प

    Brillent

  • @prakathi.8
    @prakathi.8 6 лет назад

    Sir int means initial (or) integer

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

    Why not using
    if (n1>n2)&&(n1>n3)
    {
    Printf("N1 is the largest amongst
    ");
    }
    & so on... 😉😀 Simple way without messing up

  • @Vicky-nl2cc
    @Vicky-nl2cc 6 лет назад

    link danga plz

  • @HakimKhan-of3ki
    @HakimKhan-of3ki 6 лет назад

    Sir , ur program is having buggs because of ......
    If user entered (30 30 30) .....
    Ur program will not work on it ...
    U have to add if(a==b && a==c &&b==c)

  • @Vicky-nl2cc
    @Vicky-nl2cc 6 лет назад

    sir apka koi Hindi channel nahi hai

  • @Vicky-nl2cc
    @Vicky-nl2cc 6 лет назад

    sir apka number danga plz apke sath bat Karna hai

  • @Vicky-nl2cc
    @Vicky-nl2cc 6 лет назад

    English mujhe Samaj mai ati nahi

  • @saurabhbhatt3698
    @saurabhbhatt3698 5 лет назад

    Hindi me bola kar chote

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

    Thank you Sir

  • @pastorrajmohan.b6490
    @pastorrajmohan.b6490 4 года назад

    Thank u so much sir 🥰

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

    Thank you sir