Video není dostupné.
Omlouváme se.

17 - SWITCH CASE WITH EXAMPLE - C PROGRAMMING

Sdílet
Vložit
  • čas přidán 28. 08. 2017
  • Switch case is known as Multi-Way Selection Statement having number of cases.

Komentáře • 313

  • @vaskaran1
    @vaskaran1 Před 5 lety +56

    "Boost is the secret of energy" for cricketers. Ur lectures are the secret of my energy. Once again Thanks a lot Mr.Sundeep

  • @Kleemkrom
    @Kleemkrom Před 4 lety +28

    Among all the c language lecture available in youTube, your way to teach very simple , clear and crisp.
    That your uniqueness.
    /* Simple english too*/

  • @dreamvallyhasan4807
    @dreamvallyhasan4807 Před 6 lety +42

    ur teaching is too good....Salute

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety +5

      Hi dream vally Hasan thank you for your interest towards our channel

    • @satishm1139
      @satishm1139 Před 6 lety +1

      Sundeep Saradhi 1

    • @himanshu6910
      @himanshu6910 Před 4 lety

      Yes sir is really teaching good

  • @bestyav5529
    @bestyav5529 Před 6 lety +13

    sir I wish I had discovered your videos since...I will send the link to my Teacher so that she will also learn instead of messing up with students' brain .

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety +3

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

  • @frontback4574
    @frontback4574 Před 4 lety +6

    Switch case chapter was very hard for me but after watching your lecture it's on my finger tips 😍😍

  • @yashgupta4698
    @yashgupta4698 Před 5 lety +4

    Excellent experience I have in studying computer in your channel means. ...OUTSTANDING WAY OF TEACHING. 😊

  • @preetinder2954
    @preetinder2954 Před 5 lety

    At the starting of your every video you show animation that some birds are flying in sky but they suddenly attract toward computer and then come out from this bonding any fly as they previous do. when ever I see this I realise my life "I fly in the sky of life with unawareness without setting any gole, dream, but suddenly I see computer world and i don't know when my feathers turned toward that direction,from that day I constantly went that path without know the nature of that path, but i constantly running ahead without fear because such a kind hearted persons like you are still in world , which share there knowledge with us.VERY GOOD SIR , CARRY ON AND WILL NOT STOP.

  • @abhimusic9178
    @abhimusic9178 Před 4 lety

    Sir Maine jb bhi koi c language ka topic padhne ke liye CZcams pe search kiya phir bht sare videos pr sbse agr m kisi se satisfy hua wo ap h sir thanku sir of deep of my ❤️

  • @madhumohan453
    @madhumohan453 Před 5 lety +4

    simple explanation about the topic and it is easy to understand me .
    thank you.

  • @user-jk5rr3vc3v
    @user-jk5rr3vc3v Před 2 lety +1

    My teacher took 1 year to teach me this which I learned in 2 hours, thanks to your videos.

  • @priyasrivastava7466
    @priyasrivastava7466 Před 5 lety +6

    You teach so well sir, I understood things so well.. 😊
    Thankyou so much.. 😊

  • @tartaric2040
    @tartaric2040 Před 5 lety +2

    Complete tutorial, covers all about switch case. Nice job.

  • @thebongpetuk9910
    @thebongpetuk9910 Před 4 lety +3

    Sir glad to have you , it really helped me a lot !💥

  • @gurmeetsingh598
    @gurmeetsingh598 Před 2 lety

    yr ye bdhyaaa sir sir h jo b sub padhate h ekdm mst mja aa jata h bhaiii................salute 2 u sirr..........

  • @motupangmo4255
    @motupangmo4255 Před 5 lety +2

    Thank you sir.....
    You cleared all the doubts about switch case... thank you so much..

  • @tausifahmad2007
    @tausifahmad2007 Před 5 lety +1

    thanks sir ur way of explanation is very interesting... initially i think i will never learn c language but after watching ur few videos i feel it's quite easy.. once again thanks.. and keep it up

  • @yashodapathak8259
    @yashodapathak8259 Před 4 lety +1

    Thank you sir for giving us this video.Your method to teach very easy and clear.

  • @subikshasubiksha1935
    @subikshasubiksha1935 Před 3 lety +1

    I really very interested to see ur channel contents, great job sir👍

  • @sunnybunnyfacepainting1415

    Thank you so much for your lecture. You are amazing!!!! I wish my prof learn from you lol. You are way better!!

  • @Prakash-hf7qp
    @Prakash-hf7qp Před 5 lety +1

    very good explanation with all tips...Thank you..

  • @vamshi5628
    @vamshi5628 Před 3 lety

    sir whether you read all the comments are not we don't no but,
    YOUR'S EXPLANATION IS SIMPLY SUPERB SIR

  • @chprashanth6750
    @chprashanth6750 Před 4 lety +1

    crystal clear sir your are a good teacher . thank you sir

    • @himanshu6910
      @himanshu6910 Před 4 lety

      For more videos you can watch c programming basic lecture on my channel

  • @mymomcmds5698
    @mymomcmds5698 Před 4 lety

    I am watching Ur video it is really good and best thanks I will share

  • @akhileshpathi6509
    @akhileshpathi6509 Před 3 lety +1

    sup teaching
    i can easy understand sir.
    tq

  • @harshithav4599
    @harshithav4599 Před 4 lety +1

    Good teaching sir, simple and perfect

  • @abhijitshirwal
    @abhijitshirwal Před 3 lety

    Understood sir. You teach very nicely😊

  • @ramuganesan
    @ramuganesan Před 4 lety

    your teaching style is excellent. you are giving us all details related to that section...you do not give me any room to ask you question...

  • @akbarshaik276
    @akbarshaik276 Před 4 lety +1

    Excellent sir👏👏👏

  • @viramja4500
    @viramja4500 Před 3 lety

    Thank you sir for this vedio without taking any course fee like other.

  • @parveenr7102
    @parveenr7102 Před 3 lety +1

    Omg god send a good lecturer 🙌

  • @ravisingam1158
    @ravisingam1158 Před 2 lety

    Its very easy when you teach..✨🤗

  • @AdanJelle-wt4zu
    @AdanJelle-wt4zu Před 5 měsíci

    Thank you so much you deserve more than likes nd subscribes❤❤❤

  • @tizingworld
    @tizingworld Před 4 lety +1

    Great tutoring. Thanks. Making sense to me now.

  • @hassanjaved3209
    @hassanjaved3209 Před 6 lety +2

    sir your teaching method is so good i became very impressed

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      hi hassan
      thanks for your interest towards our channel.

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

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

  • @deekshithak4640
    @deekshithak4640 Před 5 lety +9

    Ur lecture is so good sir.Can u plz explain how to execute program of displaying output in words when any number say 75 is given as input using switch sir??😊

    • @LaasyaSri_Bijjala
      @LaasyaSri_Bijjala Před 3 lety

      @@wisdom421 how it will be possible

    • @LaasyaSri_Bijjala
      @LaasyaSri_Bijjala Před 3 lety

      @@wisdom421 if n value is 75 and we can take as many cases we wanted to then we can take 75 cases aa

    • @LaasyaSri_Bijjala
      @LaasyaSri_Bijjala Před 3 lety

      @@wisdom421 if s then what is the case where we have default case

  • @ladywozniak8665
    @ladywozniak8665 Před 3 lety

    I’ve fallen in love with this man

  • @SathishKumar-pk3iu
    @SathishKumar-pk3iu Před 5 lety

    Ur teaching is marvelous

  • @-Vineethakotipalli
    @-Vineethakotipalli Před 4 lety

    U r teaching is too good sir tnqq so much for u r explanation

  • @emmettteddyguah2026
    @emmettteddyguah2026 Před 2 lety

    thanks sir, you teach switch statement very simple

  • @naveen1638
    @naveen1638 Před 2 lety +1

    Sir your teaching is awesome sir but can you give another example for switch case

  • @MK-gr4ue
    @MK-gr4ue Před 6 lety +2

    Thank u 4 ur teaching...
    I'm sure I will get good marks for my exams.....

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety +2

      hi megha
      thanks for watching my sessions. Thanks for your interest and support towards our channel. Keep following our channel.

  • @veerankilavanya6313
    @veerankilavanya6313 Před 6 lety +2

    ur teaching way is very clear.. plz upload videos about c++

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      thank you lavanya and once i complete the C language i will try to upload

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

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

  • @anokhautomation4453
    @anokhautomation4453 Před 3 lety

    Sir you forget to write - int n; /*declare the variable*/
    I understand the logic very well .thanks for your deep explanation.

  • @preetiprasad3933
    @preetiprasad3933 Před 5 lety +2

    Thank you sir for the amazing videos and explantions.

  • @littlethings8067
    @littlethings8067 Před 4 lety +1

    Great going🤩

  • @srujankeerthi2289
    @srujankeerthi2289 Před 3 lety +1

    Sir, please explain including header files. It would be helpful and your teaching is awesome.

  • @chethanajain3006
    @chethanajain3006 Před 4 lety

    Your explanation is very good sir

  • @antonynixon7295
    @antonynixon7295 Před 2 lety

    thankyou sir, without your class i would have got supply in cp

  • @mohitlunia5901
    @mohitlunia5901 Před 4 lety

    tou teach in a very beautiful way #goodjobdone

  • @Sadistic_Sir
    @Sadistic_Sir Před 4 lety

    U teach really clear and simple
    Thanks a lot Sir... :)

  • @dmvlogs5566
    @dmvlogs5566 Před 4 lety +1

    Great discussion sir🙏🙏

  • @satyanarendrakumar4738

    Sir really pleasant teaching is experienced by us thank you sir

  • @bizay1982
    @bizay1982 Před 6 lety

    /// A programme to calculate the area or perimeter of rectangle///
    #include
    #include
    int main(){

    char choice;
    float Length ,Breadth ,Area ,Perimeter;
    printf("Enter the value of length and breadth
    ");
    scanf("%f %f",&Length ,&Breadth);
    printf("Input A to calculate area
    ");
    printf("Input P to calculate perimeter
    ");
    scanf("%c", &choice);
    switch(choice){
    case'A':
    case 'a':
    Area=Length*Breadth;
    printf("The area of the rectangle is %f", Area);
    break;
    case 'P':
    case 'p':
    Perimeter=2*(Length+Breadth);
    printf("The perimeter of the rectangle is %f",&Perimeter);
    break;
    default:
    printf("Invalid");
    }
    }
    Q. Sir this programme is compiling but is not running. please help me find the mistake.

  • @varthyalaxman9311
    @varthyalaxman9311 Před 4 lety

    Ur teaching is nice sir I understood very well sir tqsm

  • @rumishruu7394
    @rumishruu7394 Před 5 lety

    Your teaching is fabulous

  • @senalisiriwardhana9216
    @senalisiriwardhana9216 Před 6 lety +1

    Thank u for this task... Your teaching is best.. Thank u very much sir..

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

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

  • @piyushabrol4130
    @piyushabrol4130 Před 6 lety +1

    Really good sir.... Understood nicely

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      hi piyush
      thanks for your interest towards our channel and keep on following our channel.

  • @khushipatel9063
    @khushipatel9063 Před 4 lety +1

    thankyu so much sir for this really easy way to teach a student ….

    • @himanshu6910
      @himanshu6910 Před 4 lety

      Sir is teaching nice ....you can refer to my channel for more c programming tutorial

  • @govardhanmv8767
    @govardhanmv8767 Před 6 lety +1

    Ur way of teaching is nice

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      hi govardhan
      thanks for your complement and thanks for your interest towards our channel. if you like my videos do subscribe to my channel and share my sessions with your friends.

  • @noorishaikh3804
    @noorishaikh3804 Před 5 lety +1

    Wow Sir nice

  • @vaibhavkharade5796
    @vaibhavkharade5796 Před 6 lety +1

    Sir the way u teach is damn gudddd.......i foud it more comfortable ...keep going sir ...

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      Hi Vaibhav Kharade thank you for your interest what's your channel subscribe to my channel share my videos to your friends and thanks for supporting me

    • @vaibhavkharade5796
      @vaibhavkharade5796 Před 6 lety

      sir have u uploded the video on pointers .. m unable to find it.. can u plss send me the link..

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      hi vaibhav
      no i didnt upload the pointers video and soon i will do that.
      thanks for following my sessions.

  • @Francisfravin
    @Francisfravin Před 6 lety +1

    Thank you sir for sharing your knowledge ........ great job....

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

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

  • @sinank4468
    @sinank4468 Před 2 lety

    Thanku sir....Excellent cls🥰

  • @saxenaarnav2001
    @saxenaarnav2001 Před 5 lety +2

    nice now you are my senpai from now on

  • @ankitchouhan4031
    @ankitchouhan4031 Před 5 lety

    Our spa mam is literally very boring
    ...... But ur very aweeeesomeee👏✊👍..... U explain things brilliantlyyyyy.....

  • @ajayraju999
    @ajayraju999 Před 5 lety +1

    sir your teaching is awsome and helpfull to me but maintain some smile on your face in between you teach it looks good im not judging you can take its ascompliment.

  • @beleteashenef2369
    @beleteashenef2369 Před 2 lety

    You are a best of best.

  • @arsharavi2023
    @arsharavi2023 Před 5 lety

    As usual....it was really a superb one sir..thnkz a lot😇😇

  • @rasithamaria8402
    @rasithamaria8402 Před 4 lety

    wow teaching 👍

  • @lagududevivaraprasad5418
    @lagududevivaraprasad5418 Před 6 lety +1

    you explanation helped me a lot.Thankyou

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      hi prasad
      thanks for watching my session and interest towards our channel.

  • @riddhimachinchane5792
    @riddhimachinchane5792 Před 4 lety

    This video clears my all doubts

  • @letscrackit9253
    @letscrackit9253 Před 3 lety

    Good explanation

  • @gerardjagroo
    @gerardjagroo Před 5 lety

    Thank you so very much for your dedication, programming guruji

  • @ambativenkatalaxmi9797
    @ambativenkatalaxmi9797 Před 2 lety +1

    Super sir

  • @sirjanrijal5242
    @sirjanrijal5242 Před 6 lety +2

    I was confused in the decision making statement in c by watching your videos i am able to understand this but i am little confused in loop(increment and decrement) pls explain clearly about it with certain examples big respect from#Nepal

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

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

    • @sirjanrijal5242
      @sirjanrijal5242 Před 6 lety

      Sundeep Saradhi welcome bro..I hope you will work on my problems..

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      Sure Sirjan Rijal I will try to do that

  • @karangarg6702
    @karangarg6702 Před 5 lety

    Sir video is very very helpful👌👌👌....thanks sir😊😊

  • @jagadishviyyapu1216
    @jagadishviyyapu1216 Před 4 lety

    Thankq sandeep sir for a beautiful lekchures

  • @ravilakavath3115
    @ravilakavath3115 Před 6 lety +1

    Excellent teaching

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      hi ravi
      thanks for your support towards our channel and share the videos with your friends and subscribe to our channel.

  • @himanshu6910
    @himanshu6910 Před 4 lety

    Nice video sir

  • @PAVA1GKWORLD
    @PAVA1GKWORLD Před 5 lety

    Excellent teaching sir

  • @LeonardPonje-wg7ye
    @LeonardPonje-wg7ye Před rokem

    Why have you used both int keyword and char keyword in the same program.Maybe there is no any penalties to do so

  • @vimalkisshoreoffical2578

    Very useful video sir thank you
    Kindly put program for array

  • @lifestylelifestyle
    @lifestylelifestyle Před 4 lety

    Thank you so much sir im from morocco 😊😊😊

  • @nishanthandge5192
    @nishanthandge5192 Před 5 lety

    Great work SIR

  • @chaitanyaharsha4211
    @chaitanyaharsha4211 Před 6 lety +1

    sir ur teaching is good. please keep while,dowhile statements

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      hi harsha
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
      czcams.com/video/vPfu5lXnEl8/video.html

  • @Mr.sanjay.balayya
    @Mr.sanjay.balayya Před 3 lety

    expalin about swith statement ? what is important break in swith statement?give example matter kodda petandi sir❤️

  • @commandermsv3329
    @commandermsv3329 Před 6 lety +1

    great work sir

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety +1

      hi commander thanks for your interest towards our channel.

  • @ahmedhussain5053
    @ahmedhussain5053 Před 4 lety

    thanks sirrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr vry muchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

  • @ajaymakkena8633
    @ajaymakkena8633 Před 5 lety

    Thank you mr. Sandeep garu

  • @harshpandey5377
    @harshpandey5377 Před 4 lety +2

    Sir is their any need to apply break after default

    • @sundeepsaradhi
      @sundeepsaradhi  Před 4 lety +1

      Hi
      If you write default at the last then no need of break
      If you re writing break before any cases then you have to write break otherwise all the statements will be executed until control reaches to break.
      Hope your doubt has been clarified.
      Thanks for your support towards our channel

  • @bharathjanakiraman1162
    @bharathjanakiraman1162 Před 6 lety +1

    Excellent work

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

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

  • @kishorereddy381
    @kishorereddy381 Před 5 lety

    nice sir tqs for this explanatiom

  • @riyaafeefa4965
    @riyaafeefa4965 Před 3 lety

    Thank you sir u explained everything

  • @kumarspandan5991
    @kumarspandan5991 Před 3 lety

    How will the compiler know 1 is Sunday 2 is Monday and so on ? We haven't mentioned anything there.

  • @LakshyaJain533
    @LakshyaJain533 Před 5 lety +3

    in the second example of switch i think you forgot to add a printf() statement for entering the operater (at run time)

  • @banabiharisahoo4008
    @banabiharisahoo4008 Před 6 lety +1

    thank sir nic video i understood all this

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      hi sahoo
      thanks for watching my sessions and supporting our channel.

  • @iamsharmaG
    @iamsharmaG Před 6 lety +2

    Your teaching is too good sir. i had a doubt... if we have a huge range of values for eg: if the values start from 121 and end at 200
    then should we keep on writing switch statement for each number???? or could it be made simplier by any other way???

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety +1

      hi shruti
      depends on logic we can reduce the case labels and if you had any problem statement related to your doubt post it so that i will try to give solution.

    • @iamsharmaG
      @iamsharmaG Před 6 lety

      Sundeep Saradhi sir the problem statement is that blood sugar versus insulin dosage.
      For eg: 121-140(blood sugar) for this the corresponding insulin dosage should be 5.3 - 7.4 (insulin dose) .Like for 121 I shud get value as 5.3 and for 122 I shud get 5.4.......So on lastly for 140 I shud get 7.4 as output value........Like this I have values from 121 to 244.. how should I execute this in a simpler manner???? Could u please help me out sir?

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety +2

      Hi shruti sharma for the given problem statement no need to use switch statement just use the given below condition
      Read the blood sugar value to x and apply the simple logic
      If(x>120 && x

    • @iamsharmaG
      @iamsharmaG Před 6 lety

      Sundeep Saradhi Thanku so much sir😊😊! Ya my doubt is cleared. Your way of teaching was too helpful to me.

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      shruti sharma if you like my sessions share my sessions with your friends and subscribe to my channel.

  • @manjulamanju9344
    @manjulamanju9344 Před 5 lety

    teaching is good

  • @shalbychacko5859
    @shalbychacko5859 Před 6 lety +1

    gud explanation thank u sir..

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

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

  • @vasanthdasu5276
    @vasanthdasu5276 Před 2 lety

    sir please say the concept from #include on wards we are unable to understand if u go directly to scanf("&d&d",&a,&b);