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
#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 */
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
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?
// Online C compiler to run C program online #include int main() { // Write C code here int a,sum=0; do { printf ("enter the value of a"); scanf("%d",&a); if(a
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 .
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....
Ma'am , are u going to make video for paid subscription? Please ma'am I request to you please don't do like this because it is very helpful for us and I personally can't afford your paid subscription.
2:26 Lecture Starts
Thanks buddy
🥲
thanks dear
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
I think we don't want unacademy when Jenny mam is here!! ❤✨
Hiii
Yes absolutely right 👍👍😍🔥🔥
Butter lite🤣🤣🤣🤣
Yeah?
It's right
👇Who are seeing this in 2024 ✨
What r u studying bro...?
@@BN__07__starBE
From which college
Yeah
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
Now I am feeling that I am learning programming ❤️
me too bro
Me too
me too
The way you teach makes me get a lot of concepts in a short span of time ,please continue the DAA playlist mam plz...................
do while code for above program
#include
#include
int main()
{
int a,sum=0;
do
{
printf("Enter a Number=");
scanf("%d",&a);
if(a
Your lectures are helping me alot !!! Thanks ma'am
2:27 lecture starts
Mam I can also use hardcoding with for loop instead of while loop in that particular questions
For(I=1;;I++)
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
I just saw your play list and im i love with your channel
Ma'am,
Can you please make Python, Java in-depth video lectures soon.
Also, please make web development series.
You teach very well.
Mam your teaching skills are really amazing 😍😍🔥🔥
Seeing this on Dec 2024 and its flawless 😮😊
we also need a video on differences between variables and constants
Mam there are some mistake in this video at for loop inside if we write ( a > 5 ll a
#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
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
#include
int a,i=1,sum=0;
int main()
{
do
{
printf("enter the number:
");
scanf("%d",&a);
if(a
#include
#include
void main()
{
int a,sum=0;
clrscr();
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
hi need more lectures on c programming....please
You are wonderful teacher mam ❤❤😇😇 Bestest way of teaching.
great job mam.........love from Bangladesh
Mam you are best teacher ❤️❤️❤️❤️❤️🙏🙏🙏🔥🔥🔥🔥🔥🔥😎
Ma'am please upload other videos of c as soon as possible.
thanks madam😊 pahli baar coding sikhne me maja aa raha hai 😅😅😂😛
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
Mam can u pls post java courses also Mam we are eagerly waiting for java class Mam
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
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?
thanks for help all students and other people
#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;
}❤❤
Ma'm you are looking like an angel... 🙈🙈
Hello mam...gd evening
May I know that have you made any video on OSI model or TCP/IP model
Mam please do videos on network security and cyber security..
hii nyc work mam
Watched and Understood ❤
Mam ..can I solve data structure questions In c language in campus interview ?
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
Madam pls start core Java also
Thanks
Please do teach us AI mam if possible
If not possible teach us atleast basics for beginners
#include
#include
void main(){
int a,sum=0;
do{
printf("Enter an number ");
scanf("%d",&a);
if(a
// Online C compiler to run C program online
#include
int main() {
// Write C code here
int a,sum=0;
do
{
printf ("enter the value of a");
scanf("%d",&a);
if(a
Sum karne ka printf do loop ke block ke niche aayega kyu block me only ak hi printf likha jata he
Baki to program right lag ra
Or bro /n first printf likhe ho bha aayega na ki last printf likhe ho bha
Mere hisaab se bas itna hi
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
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 .
Mam please give me a idea to lern c level programing form starting
Madam i have completed intermediate... So can i learn the c, java, python?
#include
int main()
{ int i=0,sum=0,a;
do
{
printf("enter a
");
scanf("%d",&a);
if(a
Do you explain by taking the example program to coming in exams 🙏🙏🙏
Mam please do lectures in hindi as it is in demand these days....
Mam goto statement kooda cheppandi pls
#include
int main(){
int i=0,a,sum=0;
do{
printf("Enter a number:",a);
scanf("%d",&a);
if(a
Mam in do while loop
Can we use assignment operator?
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....
#include
#include
int main()
{
int a,sum=0;
do{
printf("Enter number: ");
scanf("%d",&a);
if(a
mam please continue with the DAA subject mam
Nice ma'am tq so much
Does break execute as it is in nested for loop
yes but it is used to exit one loop at a time
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.. 😊
Thank you ma'am 🙇♀️
Mam basic problem solving programming...in c
.. video😶
Can we write the scanf statement before while loop? Mam
Ma am why is sum =0 necessary or is sum alone good for declaring variable
just ooosm mam 😇😇😇😇
#include
int main() {
int a,sum=0;
do
{
printf("Enter a number : ");
scanf("%d",&a);
if(a
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
Good evening! I want to add only even number. But my program add odd number. if(n%2==0)
Mam after break ; ya fir : ye
Compulsory for program..
; is compulsory
@@PoojaYadav-ph2xp thank you so much
Thank you❤
thank you maam
#include
int main()
{
int a,sum=0;
do {
printf("enter number a");
scanf("%d",&a);
if(a
😍nice video
Tnx mam for your support
Mam, before sum, Can we write else statement?
I like ur voice madam
Thank you mam ❤
Came only to see you.
please Mam array jaldee star kar do
mere second semester ke exam hai
Awesome....
Python programming tutorial videos for beginners is available in your channel madam
Mam plz complete first
Next manth my exm
So plz,,, 🙏
What If we give the value of a=0??
#include
int main()
{
int a,sum=0;
do
{
printf("enter the number
");
scanf("%d",&a);
if(a
super intelect
✋
int main()
{
int i,sum=0,a;
do{
printf("Enter numbers to be added : ");
scanf("%d",&a);
if(a
#include
void main(){
int a,sum=0;
do{
printf("Enter number:");
scanf("%d",&a);
if(a
You didn't initialize i value
Try this out...
#include
void main()
{
int i, a, sum;
i=1;
do
{
printf("Enter a:") ;
scanf("%d", & a) ;
if(a
@@nikithaa.s683 yea, but could you please tell me that what is the use of i??
No need to include i
#include
void main()
{
int i,a,sum=0;
do{
printf("Enter a number:");
scanf("%d",&a);
if(a
Your for loop code shows error in vs code....is shows break statement not within loop or switch
break used in for loop
#include
int main()
{
int a,i=1,sum=0;
do{
printf("enter the value of a:");
scanf("%d",&a);
if(a
plzz mam hindi we are unable to execute the lecture in our mind in english language
All dout clear mam
i found mistake in for loop program code you written capital letter for sum
mam plz continue c progamming playlist
Ma'am , are u going to make video for paid subscription?
Please ma'am I request to you please don't do like this because it is very helpful for us and I personally can't afford your paid subscription.
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.