C_45 Nested do while loop in C | C Programming Tutorials
Vložit
- čas přidán 26. 01. 2021
- In this lecture we will learn:
- What is Nested do while loop in C?
- working and syntax of nested do while loop
- C program using nested do while loop
C Programming Tutorials playlist: • Programming in C
*********************************************
Connect & Contact Me:
Jenny's Lecture Hindi: / @jennyslectureshindi
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/...
Instagram: / jayantikhatrilamba
Twitter: / khatrijenny
*******************************************
More Playlists:
Programming in C Tutorials: • Programming in C
C++ Tutorials for beginners: • Lec 1: How to Install ...
Printing Pattern in C: • Printing Pattern Progr...
Best Python Tutorials for Beginners: • Python - Basic to Advance
Placement Series: • Placements Series
Data Structures and Algorithms: https: • Data Structures and Al...
Design and Analysis of Algorithms(DAA): • Design and Analysis of...
Dynamic Programming: • Dynamic Programming
Operating Systems tutorials: // • Operating Systems
DBMS Tutorials: • DBMS (Database Managem...
#cprogramming #coding #program #clanguage #jennyslectures #nestedloop
I am regular viewer of your channel
It is very helpful for freshers
printf "Please make next video as soon as possible";
printf(" .... ");
int i=1, j=3;
do
{
do
{
printf("%d ",--j);
}while(j>0);
printf ("%d ",i++);
}while(i
👌
💥💥💥💥💯
Output for last question is 2101-12-23
👍
👍
👍
👍
yes i got the same
Ma'am please continue the series.
It's really very helpful. ❤️
#include
#include
void main()
{
clrscr();
printf("Mam please make a videos on array");
getch();
}
😂😂
bhot hard
Hi
I have a doubt
Why it's not
2 1 0 1 -1 2 -2 3 -3 4
Cuz if last value of i = 3
Then outer loop condition ( i
Yes
Wrong
Because, i
Last value is not i=3, because when print the value 3 after i=4 value is assigned then only condition checked
even i got the same output 2 1 0 1 -1 2 -2 3- 3 4 and i think its right i checked it three times
Please continue lectures of DAA and DBMS
I'll fail without your lectures bcoz no one can better explain than you , your word pronunciation is really good , easy to understand
output for last problem is 2100-11-22-33 and program is given below:
#include
#include
int main()
{
int i = 0,j = 3;
do
{
do
{
printf("%d",--j);
}
while(j>0);
printf("%d",i++);
}
while(i
2101-12-23
Is it correct? Please let me know
It's wrong
Start i=1 not i=0.
Mam upload arrays topics also mam waiting for u r vedios 🥺🥺🥺🥺
Mam videos on Python please..from introduction 🤗🤗
Mam, if you had started this series 2-4 months back, I am very sure I had not gone to study this offline. Great effort mam, keep it up.
output is 2101-12-23
Mam please add donate link or payment option so that we can at least support you for your hard work. Please mam!!!
Your are very great mam ,teaching very well about the topic. Why u are so serious while teaching god given beautiful face as well as heart try to laugh mam.
Mam why you are not uploading videos it have bee 2 weeks madam please upload next videoo.. Plzzzz..
I've watched all your 45 videos on c programming. Thanks mam. Helped a lot 🙌
so after seeing these videos can v start programming
@@sameershaik848 ya why 🚭not
8:22 the o/p is correct
8:51#include
int main()
{
int i=1,j=3;
do
{
do
{
printf("%d",--j);
}while(j>0);
printf("%d",i++);
}while(i
mam output is 2 1 0 1 -1 2 -2 3
Output for last question is 2102-13-24
wrong output is 2101-12-23
@@rachitparashar1243No.. It's the right answer up to the logic of example problem done in this video... Bcz( printf("%d", i++); doesn't follow post increment rule(i.e once execut original value)... So it will directly increment the initial value of i 😌
Mam We want you to teach the Python Programming , Because the way You are teaching Is Excellent mam
Mam please make videos on array,strings,user defined functions,structures,pointers,dynamic memory allocation concept videos also In c because we are addicted for u mam
Assignment
#include
#include
void main(){
int i=1, j=3;
do
{
do
{
printf("%d",--j);
}while(j>0);
printf("%d",i++);
}while(i
Thank you so much jenny for taking us flawlessly through conditional and control statements. I understood so much and so well. God bless you.
ma'am your teaching style is amazing.
I'm waiting for your next videos in this series.
please upload it ma'am.
Output is this i think 2102-13-24
Please ans me if u have time
yes
It's 2101-12-23
Mam, please can give solution for my question please
Take 4 input numbers and find 2nd smallest number using tarnary operator
Soo i like u teacher
Pefect and very useful
One thing i most like your saying okay part its so cute
And thanks for help us 🇱🇰
Mam please cover COA computer organization and architecture and digital logic circuit 🙏🙏.
If possible please do python, java tutorials please medam 🙏🙏..
good morning madam. This is PATHIBAN from south india. I'm watching your all videos in youtube. Kindly don't remove those videos from youtube mam. It's helping us a lot. Even now I don't know whether you read this command or not. My request is don't remove any videos madam, It's very useful to poor people to learn CS. thanks madam...
Why don't you try durga sir .. He is known as #java #god among java developers community. Search his name ... Every video will be 1hr+. I gaurentee that you won't be able to complete his tutorials in less then 3 months.
Answer is 2101-12-23
Output for homework nested do while is 2101-12-13-24
Thank you, first vid that showed me what I actually needed
The answer to the assignment is: 2102-14
In inner loop --j prints 2 then when condition checked 2>0 so it is repeated, --j prints 1 then when condition checked 1>0 so loop is repeated then --j prints 0 then when condition checked 0 is not greater than 0 so we move to outer loop block where i++ makes i 2 then when printing since it's post decrement we use 2 value but after execution i is actually 3 then when you check the condition 3>4 it's true so outer loop is repeated. Then we go into the inner loop, j which is 0 is decremented to -1 which is printed out but the condition is not met since -1 is not greater than 0 so we move to outer loop block statement. Here i is incremented to 4 then when printing 4 is printed out since it is post decrement but after execution of the printf statement i is actually 5. The condition is not met so loop ends sinc 5 is not greater than 4.
#include
int main(void)
{
int i = 1;
int j = 3;
do{
do{
printf("%d", --j);
}
while (j > 0);
i++;
printf("%d", i++);
}
while (i < 4);
}
What happened ma'am?? Is everything alright?? Pretty much time has passed since you uploaded the last video.
I love 💖 your teaching mam!!
😂😂
mam please upload the remaining topics video of C .🙏🙏🙏
Mam you said that you were planning to complete dbms playlist but you didn't upload any vedios on dbms
Ma'am when the course will finish?
Mam kuch mere college professor ko bhi samhao
Pta nhi konse topic ko khe le jate h
It's true belive me 😆😆
you look and feel similar like my ex beautiful, intelligent who(ex) is a CSE student and now I change my branch from mechanical to (CSE) Computer Science Engineering in third semester of my btech this year
Now I am confused why I changed my branch because of you or my ex 😂😂
She was already married 😂😂
@@balla4004 I know 😂😂
@@amanansari7319 😀😊
Mam please compiler design ke lecture lijiye na ap
Thank you mam ❤
Can you upload the more videos of dbms in which topic will be serializability, transaction etc.?
Ma'am please continue this series
We are waiting for array, pointers and struct in C🙏🙏🙏
Ma'am please upload videos of DBMS. Please ma'am.
Great mam, keep working
Great teaching no doubt
Ma'am can you please make C++ programming video lectures
Maam I watch your DSA video .You teaching style is far better than course teacher .I clear my concept from your video and practice probelm on geek for geek . I wish you always be happy and healthy . 🙏
Bhai can you suggest at what time we should start solving question on GFG....please answer
To the commenters: Prof Jenny's computations are correct. It appears that some people copied the code in a slightly different way, and that gives different results.
The correct code is:
int main(void)
{
int i=1, j=3;
do
{
do
{
printf("%d ",j);
j--;
}
while(j>0);
i++;
printf ("%d ",i);
}
while(i0);
printf ("%d ",i++);
}
while(i
answer to last question
2101-12-23
is it correct?
What will be the output & how?
#include
int main() {
int a=2;
int b;
b=(a++)+(a--)+(++a)+(--a);
printf("a=%d
",a);
printf("b=%d
",b);
return 0;
}
a=2
b=4
Ma'am plzz do some vidoes regarding java. I can understand the way of your teaching, easying .
it is very difficuit to me, watching in other youtube channels regarding java . I hope that I will have reply very soon ma'am.
Many of my friends from geethanjali college of engineering and technology face this problem due to lack of classes that we had in this covid time.
java is not good programming language than c programming language if you want to learn java fast learn c first of all.
Mam please make the lecture on data mining and warehousing
#include
int main()
{
int i;
for( i = 10 ; i ; i-- )
{
printf("%d
",i);
}
return 0;
}
it will go infinite loop ?
Output of last question 2101-12-23-34
We are eagerly waiting for the next video medam
Do you know why video is not coming.....till many days new video has not came.....is that mam is busy in something
Please complete the series we need it
Output of last question is 2102-13-2
Mam please make the nest lecture upload as soon as possible
Is there two lectures with the same number (44) or it is a mistake of numbering??
Ma'am please upload C++ course 🙏🙏Your videos are really helpful,thank you so much ❤️
I love your way in teaching and I love you 😍
Java and javascript how they are different? Please explain anyone. And which to learn
Mam you r the best teacher 👌👌👌
Thanks for the help
Mam continue kardo please humara bhala ho jaiga 🙏🙏
Yeah will start soon, I am stuck in village due to lockdown
@@JennyslecturesCSIT ok mam... please try to start as soon as possible..
Mam, please make video to implement FCFS and SJF scheduling algorithm in C language
Please ma'am next tutorial python...
🔥so cool ..... thanks mam for all of your efforts
mam you are brilliant
Mam, j-- ka matlab hai ki pahle j ki value save hogi fir decremented hogi but mam aapne yahan output me directly decremented part hi likha hai bas???
I don't have a device ....... do whatever you can ....... love to learn
Love from Mars*😂
Btw good work! And if someone as beautiful as u teaches frankely as a boy we like that subject!
Ma'am please upload more videos of c language
1:49 Lecture Starts
Ma'am i got placement. Thank you for all your support
Heyy congrats......where u got placed😁😁
@@vaibhavbatra701 thank you experion technology
Mam I have lots of problem in some topic how I ask from you....
Output for do while loop 121102-13
Please do video on Uniform Cost Search algorithm,
TIA :)
Yah It will be more useful for somany students so please jennie make it as soon as possible
legend see Ma'am last reaction 10:50
output is : 321102-13
Please discuss about java programming according to chapter wise
Mem how to learn English speaking like you please mem help me 🙏🙏
Maam ......pls🙏🙏🙏🙏 upload the upcoming vedios....maam......🙏🙏🙏🙏 I saw your vedios they are amazing I have understood all the topics maam.....pls.dont stop it here maam.....pls......
Why no classes mam?????
Please make video on regular basis
Who is Jenny?!!
First of all great work you're doing here but please consider investing in a higher quality camera. 720p simply isn't enough these days, most people are using 1080p,1440p and 4k displays. Thank you!
Mam plz videos fast uplaod kro mam
Regular video dekh rha hu
Mid sem bhi paas Me hai
Happy to be a Member!
Very nice explanation 😎
What are the programming language do you know??
Mam can u continue ur classes on DBMS again mam pls
Mam plz make video on functions in c
10:07 mam my ans is 2101-12-22-33-44
10:10
2 1 0 1 -1 2 -2 3
Hi
I have a doubt
Why it's not
2 1 0 1 -1 2 -2 3 -3 4
Cuz if last value of i = 3
Then outer loop condition ( i
Hlo mam please web designing ke lecture daliye 🙏🙏🙏
Thanks mam for these videos ab meri back to nhi aaegi