do-while Loop

do-while Loop

Neso Academy

6 лет назад

650,389 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

ShriKant Kushwaha
ShriKant Kushwaha - 27.08.2023 22:22

🎉🎉🎉

Ответить
Janani Shri
Janani Shri - 03.05.2023 19:11

:)

Ответить
Francis Jaranilla
Francis Jaranilla - 25.04.2023 04:21

Hello Sir! How about you make a video about turning for loop into do while loop.. It will be very helpful. Thank you!

Ответить
Belay Fekadu
Belay Fekadu - 02.02.2023 19:49

what happen if we put semi colon in after while loop

Ответить
compangit
compangit - 30.01.2023 10:29

Comments for myself: normal while loop is the while-do loop. Then, we have another loop which is called the do-while loop. do-while loop is used when we want to execute the body of the loop at least ONCE.

Ответить
Shitikanth Parida
Shitikanth Parida - 20.01.2023 19:37

Bro You left the semi colon in the integer math in do while loop .

Ответить
sixi hili
sixi hili - 14.01.2023 02:02

i did not understand the difference especially when you said both of the the programs do the same task 😂 then where is the difference

Ответить
Ramakrishna Payyavula
Ramakrishna Payyavula - 24.12.2022 15:16

Please note down this program!!

Ответить
Sruthi Majhi
Sruthi Majhi - 01.12.2022 22:19

Hey can anyone clear my doubt?
We need 2 variables right coz there are 2 statements for storing an integer .

Ответить
Robert Baragtotski
Robert Baragtotski - 01.12.2022 14:08

Good morning sirs!

Ответить
Jayapriya moorthy
Jayapriya moorthy - 27.11.2022 08:45

Python oops concepts post pannunga

Ответить
Jayapriya moorthy
Jayapriya moorthy - 27.11.2022 08:44

Do while is exit loop

Ответить
Jayapriya moorthy
Jayapriya moorthy - 27.11.2022 08:44

While loop is enter loop

Ответить
Amandeep Singh Dhillon
Amandeep Singh Dhillon - 24.11.2022 15:02

My 2 hours work you solved in 2-3 minutes sir I am sure that your channel will be sure in top 10 ❤

Ответить
Ahmad Naqvi
Ahmad Naqvi - 22.11.2022 05:29

Why don't you have a ; after while (n !=0) in the do while loop code?

Ответить
Celestine Francis
Celestine Francis - 16.11.2022 06:15

really extraordinary

Ответить
Asif
Asif - 04.11.2022 22:44

thanks!

Ответить
Varisha sajjad
Varisha sajjad - 18.10.2022 19:43

Sir you didn't put colon after while in do while loop

Ответить
Miroslav Blagoev
Miroslav Blagoev - 04.10.2022 15:14

Thank you for the video, I just want to sat that - this code also works, uses while instead of do-while, and gives same output as your do-while loop with the same with even fewer lines.
int n;
while(n != 0){
printf("Enter an integer\n")
scanf("%d",&n);
}

Ответить
Regular
Regular - 13.08.2022 08:22

It can also be n>0 ryt?

Ответить
GOOFY
GOOFY - 24.07.2022 18:19

isnt 0 a integer...btw nice explanation

Ответить
Iqmal
Iqmal - 25.06.2022 04:27

Excellent explanation sir VERY HELPFUL VIDEO

Ответить
Nobblese
Nobblese - 03.06.2022 17:00

ksmk'

Ответить
Datta Reddy
Datta Reddy - 15.04.2022 11:31

I want to know what compiler you are using in your lectures

Ответить
Datta Reddy
Datta Reddy - 15.04.2022 10:51

Video clarity Is very very low,360p I can't see the text

Ответить
cryzz0n
cryzz0n - 15.04.2022 01:09

thank you for ur amazing explanation.
a small note: there is a missing ';' at the last do-while example you entere.

Ответить
Mousa Ismail
Mousa Ismail - 13.03.2022 19:11

I like this method of teaching

Ответить
Mousa Ismail
Mousa Ismail - 13.03.2022 19:10

true comment

Ответить
Neha Gupta
Neha Gupta - 04.03.2022 07:46

Sir 🗣️a small note: there is a missing 👉';' at the last do-while example you entere.✍️

Ответить
anand kumar
anand kumar - 01.03.2022 16:38

semicolon missing in do while, after while.

Ответить
JohnD9271
JohnD9271 - 31.01.2022 20:09

No need to use do-while looos

Ответить
CHITUS💖⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻
CHITUS💖⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻ - 24.01.2022 23:03

thank you for ur amazing explanation.
a small note: there is a missing ';' at the last do-while example you entere.

Ответить
ACTION ACTION
ACTION ACTION - 18.01.2022 14:22

Semi colon not used in example ?
Mistake

Ответить
************************************
************************************ - 13.01.2022 21:08

I hate this, just use a for loop

Ответить
Samar Arora
Samar Arora - 09.01.2022 13:18

You didn't write semi colon after while in the program of do while when showing the program

Ответить
Hey Pikachu2
Hey Pikachu2 - 05.01.2022 00:53

Isn't this still classified as a while loop? I honestly have no idea because I use LUA and haven't learned C fully, but thought not "While true do," it's still a while loop, correct?

Ответить
ratchetbear
ratchetbear - 04.01.2022 12:56

Information was clear and concise.
Thanks heaps for your efforts :)

Ответить
Shubham Tiwari
Shubham Tiwari - 04.01.2022 05:10

Sir aap jo next example diye the usme while loop k baad semicolon nhi lagye he

Ответить
creativeRV
creativeRV - 01.01.2022 19:11

While me ; nahi laga hai fir bhi chal kaise Gaya

Ответить
r u ok ?
r u ok ? - 05.12.2021 20:45

''while u r outside, buy some milk'' - he neve came back

Ответить
Vaibhav Gurav
Vaibhav Gurav - 20.11.2021 19:10

Thank you i understand but second example your missing semicolon sir but sir thank you giving explanation.

Ответить
Siuli Chatterjee
Siuli Chatterjee - 11.11.2021 14:18

Whenever he says "right?", I fear that in the very next moment he'll say ," wrong! !"😄😄

Ответить
Kennard Sugirotok
Kennard Sugirotok - 24.10.2021 19:30

You are a very great teacher!

Ответить
Shashank M
Shashank M - 24.10.2021 12:59

How to run C on windows?

Ответить
Caper Crusader
Caper Crusader - 14.09.2021 08:40

I like this PRO-gram you did 😘

Ответить