C_41 Break statement in C | C Language Tutorials

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

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

  • @Abii_r
    @Abii_r 3 года назад +225

    I think we don't want unacademy when Jenny mam is here!! ❤✨

  • @y1_ff
    @y1_ff Год назад +10

    Usage of the 'break' Statement 01:39
    Example Using 'break' with a 'for' Loop 03:27
    Early Exit from a Loop with 'break' 05:32
    Using 'break' in a 'for' Loop 07:37
    Using 'break' with Indefinite Loops 09:34
    Handling Infinite Loops with 'break' 11:33
    Conclusion and Upcoming Topics 13:33

  • @NikhilSarnaik-z5k
    @NikhilSarnaik-z5k Год назад +11

    int sum = 0;
    do{
    int num ;
    printf("Enter the number to add it into the sum :");
    scanf("%d",&num);
    if(num

    • @vinaytummapala260
      @vinaytummapala260 5 месяцев назад

      But it prints infinite sums

    • @superspider4795
      @superspider4795 4 месяца назад

      ​@@vinaytummapala260 it's becoz condition in while is always true

  • @anujeetkunturkar780
    @anujeetkunturkar780 3 года назад +45

    2:26 Lecture Starts

  • @hasnainmemon8120
    @hasnainmemon8120 Год назад +9

    The best teacher ever!!
    Code:
    #include
    main()
    {
    int a,i=1,sum=0,average;
    do
    {
    printf("Enter any number:
    ");
    scanf("%d",&a);
    i++;
    if(a

    • @18fatima15
      @18fatima15 8 месяцев назад +1

      calculating average wasn't required here though............. But anyways, the program has no errors

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

    Now I am feeling that I am learning programming ❤️

  • @lalit6880
    @lalit6880 Год назад +5

    do while code for above program
    #include
    #include
    int main()
    {
    int a,sum=0;
    do
    {
    printf("Enter a Number=");
    scanf("%d",&a);
    if(a

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

    The way you teach makes me get a lot of concepts in a short span of time ,please continue the DAA playlist mam plz...................

  • @dawntoduskhappy7484
    @dawntoduskhappy7484 3 года назад +9

    Your lectures are helping me alot !!! Thanks ma'am

  • @mamtamaitin7248
    @mamtamaitin7248 3 года назад +21

    Ma'am,
    Can you please make Python, Java in-depth video lectures soon.
    Also, please make web development series.
    You teach very well.

  • @170_akashgupta_cse2
    @170_akashgupta_cse2 3 года назад +7

    Mam I can also use hardcoding with for loop instead of while loop in that particular questions
    For(I=1;;I++)

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

    Mam your teaching skills are really amazing 😍😍🔥🔥

  • @siddharthsingh-cw4sd
    @siddharthsingh-cw4sd 3 года назад +2

    I just saw your play list and im i love with your channel

  • @abelbagonza7783
    @abelbagonza7783 3 года назад +5

    we also need a video on differences between variables and constants

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

    #include
    #include
    void main()
    {
    int a,sum=0;
    clrscr();
    do
    {
    Printf("enter a number :");
    Scanf("%d",&a);
    If(a

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

    Mam there are some mistake in this video at for loop inside if we write ( a > 5 ll a

  • @NagaCreations4444
    @NagaCreations4444 10 месяцев назад +1

    thank you so much MADAM to teaching us🥰🥰
    i done with do while
    PROGRAM:
    #include
    void main() {
    int a,sum=0;
    do
    { printf("enter a number:");
    scanf("%d",&a);
    if(a

  • @shivanshusamadhiya9416
    @shivanshusamadhiya9416 3 года назад +5

    Mam please make a play list of java or web development or python or c++ in depth

  • @ifhammohamed1955
    @ifhammohamed1955 2 года назад +11

    #include
    #include
    int main()
    {
    int a ,sum=0;
    do
    {
    printf("Enter the number:");
    scanf("%d",&a);
    if(a

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

      #include
      void main()
      {
      int i=1,a,sum=0;
      do
      {
      printf(" enter a value ");
      scanf("%d",&a);
      if(a0);
      printf("sum is %d",sum);
      } /* Break using do while Loop */

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

      What about this

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

      What if we place the your total printf statement within do rather than using it in while

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

    2:27 lecture starts

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

    Did this program with "do while".😇
    #include
    int main()
    {
    int a, sum = 0;
    do
    {
    printf("Enter a number:
    ");
    scanf("%d", &a);
    if (a

  • @HarshaVardhan_Avvari_2030
    @HarshaVardhan_Avvari_2030 3 года назад +10

    Mam Why don't u do a tutorial for python programming as more important than c language @ focus on it after completion of c language

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

    Excellent explaination 🥰🥰.thankyou very much

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

    #include
    int main() {
    int sum=0, a;
    do
    {
    printf("enter integer number:" );
    scanf("%d",&a);
    sum+=a;
    }while(a>0);
    printf("%d", sum);
    return 0;
    }❤❤

  • @s.ananthakumar1943
    @s.ananthakumar1943 Год назад +1

    #include
    #include
    int a,i=1,sum=0;
    int main()
    {
    do
    {
    printf("enter the number:
    ");
    scanf("%d",&a);
    if(a

  • @LakshmiP-j3t
    @LakshmiP-j3t 14 дней назад +1

    Mam goto statement kooda cheppandi pls

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

    hi need more lectures on c programming....please

  • @Curlie118
    @Curlie118 10 месяцев назад +50

    👇Who are seeing this in 2024 ✨

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

    You are wonderful teacher mam ❤❤😇😇 Bestest way of teaching.

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

    #include
    int main()
    { int i=0,sum=0,a;
    do
    {
    printf("enter a
    ");
    scanf("%d",&a);
    if(a

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

    Ma'am please upload other videos of c as soon as possible.

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

    #include
    #include
    void main(){
    int a,sum=0;
    do{
    printf("Enter an number ");
    scanf("%d",&a);
    if(a

  • @aashishkumar5520
    @aashishkumar5520 3 года назад +3

    Mam you are best teacher ❤️❤️❤️❤️❤️🙏🙏🙏🔥🔥🔥🔥🔥🔥😎

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

    Mam can u pls post java courses also Mam we are eagerly waiting for java class Mam

  • @jackbhai-j8u
    @jackbhai-j8u 11 месяцев назад +1

    Mam please do lectures in hindi as it is in demand these days....

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

    Mam please do videos on network security and cyber security..

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

    thanks madam😊 pahli baar coding sikhne me maja aa raha hai 😅😅😂😛

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

    #include
    int main() {
    int a,sum=0;
    do
    {
    printf("Enter a number : ");
    scanf("%d",&a);
    if(a

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

    Mam could you plzz make full playlist on python, java plzzz mam

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

    I fallow your data structure and DBMS I LIKE UR VOICE AS WELL AS YOUR CLASSES

  • @SachinKumar-ym5fn
    @SachinKumar-ym5fn 3 года назад +1

    thanks for help all students and other people

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

    great job mam.........love from Bangladesh

  • @rinkulamba1596
    @rinkulamba1596 3 года назад +3

    Hello mam...gd evening
    May I know that have you made any video on OSI model or TCP/IP model

  • @isaacl.quelemine8775
    @isaacl.quelemine8775 Год назад

    #include
    #include
    int main()
    {
    int a,sum=0;
    do{
    printf("Enter number: ");
    scanf("%d",&a);
    if(a

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

    Please do teach us AI mam if possible
    If not possible teach us atleast basics for beginners

  • @debashishgogoi4827
    @debashishgogoi4827 3 года назад +3

    Mam ..can I solve data structure questions In c language in campus interview ?

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

    Ma'm you are looking like an angel... 🙈🙈

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

    Madam pls start core Java also

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

    Madam i have completed intermediate... So can i learn the c, java, python?

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

    13:01 mami had a small doubt in the given code sequence
    while (condition){. \\loop1
    for(condition1;condition2;condition3){. \loop 2
    break;
    }
    }
    mam this above break will throw the cursor outside loop 2 or both loops?

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

    Watched and Understood ❤

  • @JayashreeUliveni-l9s
    @JayashreeUliveni-l9s 2 месяца назад

    Mam in do while loop
    Can we use assignment operator?

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

    Mam basic problem solving programming...in c
    .. video😶

  • @anjanisivarambonam9895
    @anjanisivarambonam9895 3 года назад +5

    madam please make a playlist on python....otherwise please tell me the best source to learn python because more advanced technologies depends on python like ML ,AI....

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

    Thanks

  • @Roshan-ln8sf
    @Roshan-ln8sf 3 года назад +1

    Mam I'm not forcing I'm requesting if u to post some vedio about GRE exam
    Plz mam it's a request not a demand.. 😊

  • @ArjunSonpule
    @ArjunSonpule 9 месяцев назад

    Do you explain by taking the example program to coming in exams 🙏🙏🙏

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

    #include
    int main()
    {
    int a,sum=0;
    do {
    printf("enter number a");
    scanf("%d",&a);
    if(a

  • @Atul.Kumar07
    @Atul.Kumar07 7 месяцев назад

    Good evening! I want to add only even number. But my program add odd number. if(n%2==0)

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

    mam please continue with the DAA subject mam

  • @SanjeevYadav-dr7cy
    @SanjeevYadav-dr7cy 3 года назад +1

    Mam please give me a idea to lern c level programing form starting

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

    hii nyc work mam

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

    Can we write the scanf statement before while loop? Mam

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

    Mam, before sum, Can we write else statement?

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

    #include
    int main(){
    int i=0,a,sum=0;
    do{
    printf("Enter a number:",a);
    scanf("%d",&a);

    if(a

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

    Nice ma'am tq so much

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

    Ma am why is sum =0 necessary or is sum alone good for declaring variable

  • @MaliniMalini-u6s
    @MaliniMalini-u6s 6 месяцев назад

    #include
    int main()
    {
    int a,sum=0;
    do
    {
    printf("enter the number
    ");
    scanf("%d",&a);
    if(a

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

    Tnx mam for your support

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

    thank you maam

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

    Thank you ma'am 🙇‍♀️

  • @Mehedihasan-rahat
    @Mehedihasan-rahat Месяц назад

    Does break execute as it is in nested for loop

    • @HamzaMustafa-f9w
      @HamzaMustafa-f9w Месяц назад

      yes but it is used to exit one loop at a time

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

    What If we give the value of a=0??

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

    Mam when will the pointer come.
    And whenever you come then please teach in live class

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

    Mam plz complete first
    Next manth my exm
    So plz,,, 🙏

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

    At 13:56,the program is...
    #include
    int main()
    {
    int i=1,a,sum=0;
    do
    {
    printf("enter a number");
    scanf("%d",&a);
    if(a

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

    Python programming tutorial videos for beginners is available in your channel madam

  • @SachinKumar-ym5fn
    @SachinKumar-ym5fn 3 года назад +1

    please Mam array jaldee star kar do
    mere second semester ke exam hai

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

    Came only to see you.

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

    I like ur voice madam

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

    Thank you mam ❤

  • @shivjikumarsingh6470
    @shivjikumarsingh6470 3 года назад +3

    Mam after break ; ya fir : ye
    Compulsory for program..

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

    13:45
    #include
    int main()
    { int a,i=0,sum=0; //i=0 initialization
    do{
    printf("Enter a postive Integer: ");
    scanf("%d", &a);
    i++; //update/modify
    if(a

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

    plzz mam hindi we are unable to execute the lecture in our mind in english language

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

    mam plz continue c progamming playlist

  • @jotheeswaran.s3357
    @jotheeswaran.s3357 3 года назад

    i found mistake in for loop program code you written capital letter for sum

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

    Mam It is better that you should taught us hindi.U will better explain things in hindi instead of english

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

    Thank you❤

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

    Mam go to statement

  • @Krishnaveni-02
    @Krishnaveni-02 Год назад +1

    Need examples

  • @ssaiyuvarajnaik8693
    @ssaiyuvarajnaik8693 6 месяцев назад

    #include
    int main()
    {
    int a,i=1,sum=0;
    do{
    printf("enter the value of a:");
    scanf("%d",&a);
    if(a

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

    All dout clear mam

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

    super intelect

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

    For the assignment:
    #include
    int main(void)
    {
    int a;
    int sum = 0;
    do{
    printf("Number: ");
    scanf("%d", &a);
    if (a < 0)
    {
    break;
    }
    sum += a;
    printf("%d
    ", sum);
    }
    while (1);
    }

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

      Bro give the printf for the sum out of the loop or else it will print every time you give the input which is greater than 0

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

    At 11:05 why -10(-ve's) is not included in sum ( I mean in adding) ???

    • @maimounaidreesali6801
      @maimounaidreesali6801 2 дня назад

      I think the maam here made a mistake
      In first example value of sum shoud be 15 not 18
      Since sum is going to be just the last value stored in sum variable which is 15
      Not the sum of the entered numbers
      In the example you asked about when you entered -10 control will go out of loop and last value in sum variable will be printed which is 8
      In short :
      sum should just print the last value stored in sum variable not to add the numbers you entered .

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

    int main(){
    int i,x,sum=0;
    do
    {
    printf("enter a number: ");
    Scanf("%d", &x);
    if (x

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

    tq mam

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

    Plz can any one explain how while(1)works

    • @jackbhai-j8u
      @jackbhai-j8u 11 месяцев назад

      It is a infinite loop and the loop won't end at all because 1 is always true condition.

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

    just ooosm mam 😇😇😇😇

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

    Awesome....