16 - NESTED IF - C PROGRAMMING

Поділитися
Вставка
  • Опубліковано 28 сер 2017
  • Placing if inside the if else is called nested if else.

КОМЕНТАРІ • 106

  • @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 UA-cam channel

  • @prajwalgudiyankar9739
    @prajwalgudiyankar9739 3 роки тому +2

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

  • @BiqSam2002
    @BiqSam2002 6 місяців тому

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

  • @aishwaryamujage4836
    @aishwaryamujage4836 5 років тому +1

    Superb.explanation technique sir
    Thank u so much

  • @bachalakurisumathi5211
    @bachalakurisumathi5211 2 роки тому

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

  • @TAYOTECcorp
    @TAYOTECcorp 5 років тому +4

    really a good learning experience

  • @sourav_krishna.
    @sourav_krishna. 3 роки тому +4

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

  • @strongest324
    @strongest324 5 років тому +1

    Thank you very much sir!!

  • @abdirashidosman6750
    @abdirashidosman6750 5 років тому +1

    thank you sir thank you so much for ur great explanation

  • @ankitkumarnayak3422
    @ankitkumarnayak3422 5 місяців тому

    Clearly understood the concept 🙏

  • @Phaneendra_raagu
    @Phaneendra_raagu 5 років тому +1

    Tq bro superb explanation
    Better than the best 😉😉

  • @Vasanth-vr5vt
    @Vasanth-vr5vt 5 років тому

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

  • @mandarpisal3397
    @mandarpisal3397 5 років тому +2

    Sir u are really a great teacher😃

  • @curocity9371
    @curocity9371 4 роки тому +1

    Love it..

  • @smdarshadali9932
    @smdarshadali9932 4 роки тому +1

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

  • @shruthichiguru312
    @shruthichiguru312 Рік тому

    Tq sir for ur explanation...☺️

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

  • @manohargoud9356
    @manohargoud9356 4 роки тому

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

  • @prashanthkasani7092
    @prashanthkasani7092 3 роки тому

    Tq sir very neat explanation

  • @TausifAnsari-jw7le
    @TausifAnsari-jw7le 5 років тому +2

    Awesome 👌👍

  • @joba.textiles
    @joba.textiles 5 років тому +1

    Thank you so much sir 😊😊😊

  • @janvibhanushali5682
    @janvibhanushali5682 3 роки тому

    Thank you so much sir..

  • @aachalparaye220
    @aachalparaye220 4 роки тому

    Nice explanation sir 👍👍

  • @deepikas9674
    @deepikas9674 5 років тому +1

    thank you sir

  • @rojarojee1532
    @rojarojee1532 2 роки тому

    Thank you Sir

  • @pastorrajmohan.b6490
    @pastorrajmohan.b6490 3 роки тому

    Thank u so much sir 🥰

  • @Natasha-jc7gp
    @Natasha-jc7gp 3 роки тому

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

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

  • @96chaymaa
    @96chaymaa 4 роки тому +1

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

  • @user-ez4dl8wv7t
    @user-ez4dl8wv7t Рік тому

    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 3 роки тому

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

  • @Pooja-jd6jc
    @Pooja-jd6jc 3 роки тому

    In this program why can't we use int main

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

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

  • @MohanKumar-zb3be
    @MohanKumar-zb3be 5 років тому

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

  • @deepikas9674
    @deepikas9674 5 років тому

    I have some ideas from your lecture

  • @arunyadav7467
    @arunyadav7467 4 роки тому

    sir upload video regularly of c++

  • @mariselvi2718
    @mariselvi2718 4 роки тому

    Hiii sir nested if else statement LA electricity code konjam sollithangalan

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

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

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

  • @RAKESHKUMAR-fc5lx
    @RAKESHKUMAR-fc5lx 4 роки тому

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

  • @krcpr007
    @krcpr007 3 роки тому

    Op👍

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

  • @user-xo5qw6lx5f
    @user-xo5qw6lx5f 4 роки тому

    Brillent

  • @Vicky-nl2cc
    @Vicky-nl2cc 5 років тому

    link danga plz

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

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

  • @ashayfernandes4722
    @ashayfernandes4722 6 років тому +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  6 років тому

      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  6 років тому

      Sorry in the prog1 declare y as int

    • @sundeepsaradhi
      @sundeepsaradhi  6 років тому

      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  6 років тому

      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.
      ua-cam.com/users/sundeepsaradhi
      SO MAKE A VIDEO WITH FEEDBACK ON OUR CHANNEL AND SEND AS SOON AS POSSIBLE

  • @hassanjaved3209
    @hassanjaved3209 6 років тому +2

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

    • @sundeepsaradhi
      @sundeepsaradhi  6 років тому +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.

  • @karnatilingarao4239
    @karnatilingarao4239 6 років тому +1

    nested switch tell me about that

    • @sundeepsaradhi
      @sundeepsaradhi  6 років тому +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 );
      }

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

  • @NDASARIGANGASWETHA
    @NDASARIGANGASWETHA 11 місяців тому

    Can we use else if instead of nested if sir ?

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

  • @gurpreetKaur-sq7vc
    @gurpreetKaur-sq7vc 3 роки тому

    Thnq sir

    • @rosh9318
      @rosh9318 3 роки тому

      No mention mam 😂🤣

  • @prakathi.8
    @prakathi.8 5 років тому

    Sir int means initial (or) integer

  • @HakimKhan-of3ki
    @HakimKhan-of3ki 5 років тому

    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)

  • @anshulgujjar1605
    @anshulgujjar1605 6 років тому +1

    Very nice

    • @sundeepsaradhi
      @sundeepsaradhi  6 років тому

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

    • @eldapaul6838
      @eldapaul6838 6 років тому

      Appliciated more

  • @ankamallaharishkumar8108
    @ankamallaharishkumar8108 6 років тому +1

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

  • @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 5 років тому

    sir apka koi Hindi channel nahi hai

  • @Vicky-nl2cc
    @Vicky-nl2cc 5 років тому

    sir apka number danga plz apke sath bat Karna hai

  • @ihtishamfarman7373
    @ihtishamfarman7373 6 років тому +1

    Sir please find largest number amongst 5 using nested if

    • @sundeepsaradhi
      @sundeepsaradhi  6 років тому

      hi rana
      sure i will upload it soon.

    • @ihtishamfarman7373
      @ihtishamfarman7373 6 років тому +1

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

    • @ihtishamfarman7373
      @ihtishamfarman7373 6 років тому

      Sir kindly its a request please.

    • @sundeepsaradhi
      @sundeepsaradhi  6 років тому

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

    • @ihtishamfarman7373
      @ihtishamfarman7373 6 років тому +1

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

  • @Vicky-nl2cc
    @Vicky-nl2cc 5 років тому

    English mujhe Samaj mai ati nahi

  • @saurabhbhatt3698
    @saurabhbhatt3698 5 років тому

    Hindi me bola kar chote

  • @vicky9856
    @vicky9856 Рік тому

    Thank you sir

  • @samarg4708
    @samarg4708 5 років тому

    Thank you sir