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
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
#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 */
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?
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....
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); }
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 .
I think we don't want unacademy when Jenny mam is here!! ❤✨
Hiii
Yes absolutely right 👍👍😍🔥🔥
Butter lite🤣🤣🤣🤣
Yeah?
It's right
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
int sum = 0;
do{
int num ;
printf("Enter the number to add it into the sum :");
scanf("%d",&num);
if(num
But it prints infinite sums
@@vinaytummapala260 it's becoz condition in while is always true
2:26 Lecture Starts
Thanks buddy
🥲
thanks dear
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
calculating average wasn't required here though............. But anyways, the program has no errors
Now I am feeling that I am learning programming ❤️
me too bro
Me too
me too
do while code for above program
#include
#include
int main()
{
int a,sum=0;
do
{
printf("Enter a Number=");
scanf("%d",&a);
if(a
The way you teach makes me get a lot of concepts in a short span of time ,please continue the DAA playlist mam plz...................
Your lectures are helping me alot !!! Thanks ma'am
Ma'am,
Can you please make Python, Java in-depth video lectures soon.
Also, please make web development series.
You teach very well.
Mam I can also use hardcoding with for loop instead of while loop in that particular questions
For(I=1;;I++)
Mam your teaching skills are really amazing 😍😍🔥🔥
I just saw your play list and im i love with your channel
we also need a video on differences between variables and constants
#include
#include
void main()
{
int a,sum=0;
clrscr();
do
{
Printf("enter a number :");
Scanf("%d",&a);
If(a
Mam there are some mistake in this video at for loop inside if we write ( a > 5 ll a
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
Mam please make a play list of java or web development or python or c++ in depth
#include
#include
int main()
{
int a ,sum=0;
do
{
printf("Enter the number:");
scanf("%d",&a);
if(a
#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 */
What about this
What if we place the your total printf statement within do rather than using it in while
2:27 lecture starts
Did this program with "do while".😇
#include
int main()
{
int a, sum = 0;
do
{
printf("Enter a number:
");
scanf("%d", &a);
if (a
👏great work
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
Excellent explaination 🥰🥰.thankyou very much
#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;
}❤❤
#include
#include
int a,i=1,sum=0;
int main()
{
do
{
printf("enter the number:
");
scanf("%d",&a);
if(a
Mam goto statement kooda cheppandi pls
hi need more lectures on c programming....please
👇Who are seeing this in 2024 ✨
What r u studying bro...?
@@BN__07__starBE
From which college
You are wonderful teacher mam ❤❤😇😇 Bestest way of teaching.
#include
int main()
{ int i=0,sum=0,a;
do
{
printf("enter a
");
scanf("%d",&a);
if(a
Ma'am please upload other videos of c as soon as possible.
#include
#include
void main(){
int a,sum=0;
do{
printf("Enter an number ");
scanf("%d",&a);
if(a
Mam you are best teacher ❤️❤️❤️❤️❤️🙏🙏🙏🔥🔥🔥🔥🔥🔥😎
Mam can u pls post java courses also Mam we are eagerly waiting for java class Mam
Mam please do lectures in hindi as it is in demand these days....
Mam please do videos on network security and cyber security..
thanks madam😊 pahli baar coding sikhne me maja aa raha hai 😅😅😂😛
#include
int main() {
int a,sum=0;
do
{
printf("Enter a number : ");
scanf("%d",&a);
if(a
Mam could you plzz make full playlist on python, java plzzz mam
I fallow your data structure and DBMS I LIKE UR VOICE AS WELL AS YOUR CLASSES
thanks for help all students and other people
great job mam.........love from Bangladesh
Hello mam...gd evening
May I know that have you made any video on OSI model or TCP/IP model
#include
#include
int main()
{
int a,sum=0;
do{
printf("Enter number: ");
scanf("%d",&a);
if(a
Please do teach us AI mam if possible
If not possible teach us atleast basics for beginners
Mam ..can I solve data structure questions In c language in campus interview ?
Ma'm you are looking like an angel... 🙈🙈
Madam pls start core Java also
Madam i have completed intermediate... So can i learn the c, java, python?
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?
Watched and Understood ❤
Mam in do while loop
Can we use assignment operator?
Mam basic problem solving programming...in c
.. video😶
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....
Thanks
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.. 😊
Do you explain by taking the example program to coming in exams 🙏🙏🙏
#include
int main()
{
int a,sum=0;
do {
printf("enter number a");
scanf("%d",&a);
if(a
Good evening! I want to add only even number. But my program add odd number. if(n%2==0)
mam please continue with the DAA subject mam
Mam please give me a idea to lern c level programing form starting
hii nyc work mam
Can we write the scanf statement before while loop? Mam
Mam, before sum, Can we write else statement?
#include
int main(){
int i=0,a,sum=0;
do{
printf("Enter a number:",a);
scanf("%d",&a);
if(a
Nice ma'am tq so much
Ma am why is sum =0 necessary or is sum alone good for declaring variable
#include
int main()
{
int a,sum=0;
do
{
printf("enter the number
");
scanf("%d",&a);
if(a
Tnx mam for your support
thank you maam
Thank you ma'am 🙇♀️
Does break execute as it is in nested for loop
yes but it is used to exit one loop at a time
What If we give the value of a=0??
Mam when will the pointer come.
And whenever you come then please teach in live class
Yes mam we need first
And mam we need live class that time please
Mam plz complete first
Next manth my exm
So plz,,, 🙏
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
Python programming tutorial videos for beginners is available in your channel madam
please Mam array jaldee star kar do
mere second semester ke exam hai
Came only to see you.
I like ur voice madam
Thank you mam ❤
Mam after break ; ya fir : ye
Compulsory for program..
; is compulsory
@@PoojaYadav-ph2xp thank you so much
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
Genius
plzz mam hindi we are unable to execute the lecture in our mind in english language
mam plz continue c progamming playlist
i found mistake in for loop program code you written capital letter for sum
Mam It is better that you should taught us hindi.U will better explain things in hindi instead of english
Thank you❤
Mam go to statement
Need examples
#include
int main()
{
int a,i=1,sum=0;
do{
printf("enter the value of a:");
scanf("%d",&a);
if(a
All dout clear mam
super intelect
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);
}
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
At 11:05 why -10(-ve's) is not included in sum ( I mean in adding) ???
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 .
int main(){
int i,x,sum=0;
do
{
printf("enter a number: ");
Scanf("%d", &x);
if (x
tq mam
Plz can any one explain how while(1)works
It is a infinite loop and the loop won't end at all because 1 is always true condition.
just ooosm mam 😇😇😇😇
Awesome....