15 - DECISION CONTROL STATEMENTS - C PROGRAMMING

Поділитися
Вставка
  • Опубліковано 27 сер 2017
  • Simple if
    if - else
    else-if ladder
    switch (Multi-Selection)

КОМЕНТАРІ • 227

  • @umavijayan7127
    @umavijayan7127 6 років тому +66

    I think in my life, this is one of the quality of time when I watched this video👍👌

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

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

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

      @@sundeepsaradhi Ur doing a very good work thanks a lot

    • @bramireddy7604
      @bramireddy7604 2 роки тому +1

      Thank you sir

  • @LionHeartZell
    @LionHeartZell 4 роки тому +6

    Sir, you have broke this down to a level where i could comprehend this. Thank you.

  • @rakshitha1134
    @rakshitha1134 8 місяців тому +1

    Excellent teacher ..... Glad that i found such a wonderful teacher ❤❤

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

    SIR Thank You . This video is one of the best video i have ever seen. You are just PREFECT.

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

    I think in my life, this is one of the quality of time when I watched this video👍👌 FOR AVERY ONE perfect explanation sir thank u very much SIR

  • @benjaminterrell2221
    @benjaminterrell2221 2 роки тому +1

    Tremendous talent at taken higher concepts and explaining them is simple terms. Thank you, this is helping me to get a job by which I will feed, cloth and shelter my 10 children!!

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

    You are an excellent teacher - thank you!

  • @rohanthakur4733
    @rohanthakur4733 4 роки тому +4

    Great sir. Because of you this chapter looks so simple.

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

    Thank you very much sir for that wonderful lecture.i have really understood all the concepts there

  • @mamathacn5837
    @mamathacn5837 4 роки тому +5

    Thank you so much sir.. Great job 🤗excellent teaching 🔥

  • @swagatikasingh3878
    @swagatikasingh3878 4 роки тому +2

    Thank u so much sir.. It's A great explanation, It helps me a lot in my exam. tqsm.

  • @vlllf05.prachigade12
    @vlllf05.prachigade12 5 років тому

    Best teaching on youtube!!

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

    Perfect explanation for me . Thank you sir... Wonderful teaching

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

    Thank you for explaining all of this in simple words sir

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

    Really I'm thankful to you sir ji ,,😊 please do more examples 😊 thanks,,🤗🙏🙏🙏🙏

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

    I never realized for any other c language teaching vedios but I realized for ur teaching it is really amazing explanation to each and every point I can easily got it I am poor in computer but today I got a hope that I can crack the c language

  • @aniketchaubey7532
    @aniketchaubey7532 3 роки тому +1

    Your teaching is really commendable sir ,it helps a lot 👍👍

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

    Thank u so much sir.your videos are very helpful...

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

    simple and wonderful class😇😇...thnq so much sir

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

    Superb teaching sir👌u are really a great teacher 👍 very clear and precise... thank u🙏

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

    very nice lecture sir.Easily understandable language and crisp explanation.

  • @AtikaTahsinSaba
    @AtikaTahsinSaba 3 роки тому +1

    I’ve struggled a lot with the else and else if statement only bc of our professor not telling us conditions are only written for if and else if not else statement...But You Sir cleared my confusions and thanks a lot for that 🙏🙏🙏

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

    Thank you so much sir you are a gem ❤️

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

    Thanks sir .your lessons are very useful to me.

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

    Ur teaching so simple sir and easy to understand 👍

  • @CAAvinithabca
    @CAAvinithabca 5 років тому +3

    Super sir ennakku nalla puriyuthu sir thank you sir

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

    Clearly explain sir.... Thank u soo much for your video...

  • @rohitkumarsinha1702
    @rohitkumarsinha1702 6 років тому +3

    Sir a big thanks to you... I just helped me to understand the basics of c

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

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

    Superb sir...... Easy way of teaching👌👌👌

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

    U are the best teacher I have seen

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

    Thanku you soo much sir. I understand very much. Actually....... Your teaching is also superb sir

  • @AbdulRehman-ln1lh
    @AbdulRehman-ln1lh 5 років тому

    Tq sir.....fr keeping ur valuble time fr us

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

    Thank you sir.......... ☺.. I understand all because of you ☺

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

    thanks sir very much i have got all the IF statements .....

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

    Perfection lies in your teaching sir. Glad I've watched this video .

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

    Sir thanks for you as support student

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

    Thank you sir i was to depressed about this topic my mid exams are in two days now i can easily go and do it very well thank you so much.

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

    Superb class.👍👍👌👌

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

    Understood very well 😀 thank you sir

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

    In else if ladder program ,if we want print "given numbers are not equal" relation .then???

  • @gopi3817
    @gopi3817 6 років тому +3

    Sir one doubt,u will explain quadratic expression programme or many programs

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

    Thank u so much ..it's awesome....👌👌👌👌

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

    Really ur teaching is very very helpful for me sir❤️❤️❤️

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

    Super explanation sir by ur explanation with simple english we are learning the subject wth english and explanation with examples gives a better clarity among the classes

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

    Thanks it was very helpful

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

    Very nyc sir thnqqq sooo much for lovely teaching 👌🙏🙏

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

    Awesome explanation sir 🥳

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

    Thank you for all your help sir

  • @julianatumulak4914
    @julianatumulak4914 9 місяців тому

    Thank you Sir!

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

    Thank you so mach sir your videos help me a lot.... 😍

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

    Such a nice class❤️

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

    Hello Sir, just want to clarify that when we use else if ladder, is it just the first if condition that is considered as true condition statement and others as false condition statements??

  • @GodfreyNjobvu-en9qx
    @GodfreyNjobvu-en9qx Рік тому

    Best lecture we are enjoying sir

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

    I understand 100% sir amazing

  • @arunkumarsonti7764
    @arunkumarsonti7764 3 роки тому +1

    Sir ur explanation is Very nice

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

    Sir I have one doubt if any array program how to use outer loop and inner loop please tell me sir I confused that loops sir

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

    Wow superb ladder statement

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

    Hi Sandeep, big fan here, I've learned so much from you.
    I would like your advice on improving my basic calculator to calculate more than 2 numbers in one go. Will switch case be advisable here or what do you suggest?
    Sorry if my code is super amateurish, I just got started.
    Here we go:
    #include
    #include
    #include
    double squarE(double num);
    /****************************************
    Start of Main
    *****************************************/
    int main()
    {
    //Declare Variables
    double num;
    double cnums[100];
    double ans;
    char oper;

    //Get operator and 1st operand
    printf("Enter first number and operator: ");
    scanf("%lf %c", &num, &oper);
    /*printf("Enter first number: ");
    scanf("%lf", &num);*/
    if (oper == 's')
    squarE(num);
    else
    //Get 2nd operand if applicable
    printf("Enter next number: ");
    scanf("%lf", &cnums[0]);

    if (oper == '+')
    {
    ans = num + cnums[0];
    printf("%f + %f = %f", num, cnums[0], ans);
    }
    else if (oper == '-')
    {
    ans = num - cnums[0];
    printf("%f - %f = %f", num, cnums[0], ans);
    }
    else if (oper == '*')
    {
    ans = num * cnums[0];
    printf("%f × %f = %f", num, cnums[0], ans);
    }
    else if (oper == '/')
    {
    ans = num / cnums[0];
    printf("%f ÷ %f = %f", num, cnums[0], ans);
    }
    else if (oper == 'p')
    {
    ans = pow(num, cnums[0]);
    printf("%f to the power of %f = %f", num, cnums[0], ans);
    }
    else
    printf("Invalid Operator!");




    return 0;
    }
    /*****************************************
    End of Main
    ****************************************/
    double squarE(double num)
    {
    printf("The square root of %f is: %f", num, sqrt(num));
    }

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

    Easy to understand thank u

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

    It is easy to understand and thank you for teaching sir 😊

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

    Sir.. you are the best ❤❤❤

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

    Very very nice sir thanking u sir Inka makosam c language videos cheyandi sir plss ma lantii jobless persons ki. Use avthadii

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

    Thanks a lot sir well explained 👍👌

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

    Amazing explanation sir

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

    Excellent explanation sir 🙏🙏

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

    great job

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

    Awesome teaching sir 👍👍

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

    Very clear understanding👌👌👌

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

    I have relation between two values 6 untai kada because of relation operatore 6kada plz give me clarification

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

    Sir u r so very intelligent... Keep going on😊

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

    Decision statement very simple explain and best teaching sir and next video upload

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

    Super sir very neat explain 🥳

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

    Thank you sir .good for explanation sir

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

    you're a very good teacher sir. thank you very much for these videos.

  • @saitejakoyeti7847
    @saitejakoyeti7847 6 років тому +3

    I understand better than my faculty, thank you sir

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

      hi saiteja
      thanks for your interest towards our channel and watching my sessions.

  • @saineeraj1326
    @saineeraj1326 3 роки тому +1

    Sir=GOD

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

    Is it not possible to use nested if insteaf of else if

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

    Sir please tell me one program
    A[ ]={1,2,3,4,6,9,11,12} it is a input value
    Output string :1-4 , 6 , , 9 ,11-12
    Can you write the program to print above output string

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

    Nice explanation sir ❤️❤️

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

    Thank you so much

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

    Great teaching sir....

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

    Sir we can use break...??? To come out of it

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

    Tq sir i will understand this topic

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

    You are very qualified

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

    Well explained❤️

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

    Thank you so much sir

  • @Rohitkumar-zt2wp
    @Rohitkumar-zt2wp 5 років тому

    Sir tell d basic difference b/w if and if else stmt?

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

    Nested if is not conditional statement?

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

    Thank You So Much Sir

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

    Thank you sir 👌

  • @safinaaz.a
    @safinaaz.a 5 років тому

    It is so helpful

  • @39_sanikachaudhari89
    @39_sanikachaudhari89 3 роки тому

    Thanks a lot sir

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

    Sir I have one doubt why do we use %d
    What is meant by %d plz reply and thanks a lot for your wonderful explanation

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

    sir what about nested if

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

    Can we write %i instead of %d

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

    Sir can you make the videos for loop structures ..??

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

    Tq sir for your classes

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

    can we write < 40% first

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

    What are applications for simple if in c sir ?

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

    thank you sir