What a lecture sir. we cannot imagine these kind of lectures in Colleges
@itsgamingtime..70014 жыл бұрын
True.
@pradipmalla80595 жыл бұрын
this channel deserves much more subscribes....you guys are doing really great job ..thanks alot !
@brockolious3 жыл бұрын
The best C Programming guide and explanations I have ever seen for beginners like me. Clear, concise explanations that we can immediately use in our own C programs. To everyone studying for exams, good luck and you'll do awesome!!!
@arnhelcarbajal1942 Жыл бұрын
🥃
@ItachiUchiha-mm5ov2 жыл бұрын
This seemed much easier for me for continue #include int main(){ int a; for(a=1;a
@SifenAbdi-sl6lz11 ай бұрын
its a great thing you got going on bruh.
@Salamanca-joro7 ай бұрын
What does it mean a% 2 ==0
@Sushilulu6 ай бұрын
@@Salamanca-joro it’s division operation..if we get balance of some value number..then it will pass and not getting through the continue, as it’s basically (a%2!=0)…it’s gonna be an odd number
@nitishsah10603 жыл бұрын
Sir you are taking the profession of teaching to next level such a well narrated lecture at free of cost! Thanks a lot sir
@tayyab.sheikh11 ай бұрын
4:55 "It simply means we won't execute the rest of the statements but we would *continue* to execute the loop"
@ergoproxy30322 жыл бұрын
so for 0:38 i quite didn't understand the necessity of using break in this exercise since i can use only while loop without if and break, it will work exactly same like this(please correct me if im wrong): #include int main() { int n; printf("enter a number;)"); scanf("%d", &n); while(n!=0&&n>0) { printf("enter a number "); scanf("%d",&n); } return 0; }
@Maha_s19992 жыл бұрын
Fantastic lecture! Concise and the differences between break and continue super clear!
@noaMurcianOfficial4 жыл бұрын
I think that the second example is to complicated, i suggest this code: int main() { for (int i = 0; i < 20; i++) { if (i % 2 == 0) { continue; } printf("%d ", i); } }
@solomonadegboyega8742 жыл бұрын
Thank you for the modification
@idk8idk11 ай бұрын
He was only using this as an example I think
@rajeevKr074 жыл бұрын
Alternate solution using previous knowledge of while loop thank you neso academy 🙏❤ #include int main() { int i; printf("enter an integer"); scanf("%d",&i); while((i!=0)&&(i>0)) { printf("enter an integer"); scanf("%d",&i); } }
@shutdahellup694202 жыл бұрын
The odd numbers never get printed in this code tho?
@ziko9762 Жыл бұрын
#include int main() { int a, b; printf("Enter value: "); scanf("%d", &a); for (b = 1; b
@sidzmhs Жыл бұрын
Damnnnn this video cleared all my doubts!!!!! Its so simply explained, I'm impressed !
@tofiq623 жыл бұрын
This guy tells lessons better than my university teachers!
@yadhuss9194 жыл бұрын
I before watching this video I was confused with this topic but now I understand how easy it was
@sakshisrivastava70333 жыл бұрын
I have been always in doubt with this topic.. Thank you so much for this lecture
@Codenames5604 жыл бұрын
Thanks - I wrote down your definition for 'Continue'.
@moeentrimzi.85323 жыл бұрын
#include int main() { int n=2; for(int i=1;i
@prathamgond43142 жыл бұрын
I thought that this channel was only for analog electronics.....I was surprised to see this
@Hustler20253 жыл бұрын
I come after watching codewithharry c language. I got doubt between break and continue but coming here is worth it.
@aswithasai40152 жыл бұрын
Thank you very much from the bottom of my heart you don't know how much these lectures are helping like me beginners .
@dsa37024 жыл бұрын
Realizing in 2020, WAP.. is something else now 🤣🤣
@elcactus11592 жыл бұрын
🤣🤣🤣exactly bro
@k-san53552 жыл бұрын
Now from the top-
@ritikshrivastava94424 жыл бұрын
Same program without continue int main() { printf("printing the odd number from 0 to 20 "); int i=0; while(i
@purubhargava80964 жыл бұрын
u could have used simply i+=2 with i intiation as i = 1 use a for or while loop if occupy more space and reduce the execution time.
@kunalsoni76815 жыл бұрын
before i really confused.. but i watch this video i understand too much . thank so lot sir😙❤😍😊
@taifX187 ай бұрын
I understand the difference from you in 5 minutes!! thank you so much
@ujjwalyadav82532 жыл бұрын
I like the whole content of this channel
@luongManh3613 жыл бұрын
This is really helpful, I get it clearly now
@rockstarmani4 жыл бұрын
We can also use and (&&) operator in while loop instead using if condition again right!
@shubhammoudgil44083 жыл бұрын
one word MIND BLOWING I can't even imagine that these courses are free of cost.
@r.ksharma23213 жыл бұрын
Thank you 🖤🖤🖤 so much for clearing all of my doubt easily
@articulate5797 Жыл бұрын
Refined code - BREAK STATEMENT - #include int main (){ /*-----implemented using while loop-----*/ /* int n; printf("Enter element-"); scanf("%d",&n); while(n!=0) { if(n
@abdomenebadellah3 жыл бұрын
The Helpful Acronym..thanks,sir ❤️
@neniscarlet38806 жыл бұрын
Thank you, very simple and helpful. Keep up the good work!
@joehayden60652 жыл бұрын
Very clear, pedagogically rich!
@swapnilbhojwani55875 жыл бұрын
#include int main() { int i; for(i=0;i
@sukritisood94435 жыл бұрын
We can also print same by using i=i+2 in expression step of for loop
@prakharkatwal7866 Жыл бұрын
#include int main() { printf("Odd numbers from 1 to 20 using i += 2: "); for (int i = 1; i
@zunaedaman19302 жыл бұрын
What a lecture! My current favourite
@rohan89524 жыл бұрын
Very nice explanation 👌
@danieliniguezv3 жыл бұрын
amazing explanation! thank you so much!
@islammostafa30374 жыл бұрын
thank you, the best channel to simplify programming..
@Make_it-Simple6 ай бұрын
Simple & Basic 👌
@gatecomputerscience14842 жыл бұрын
Great explanation
@sateelbasou95822 жыл бұрын
1:00. Why haven't you written Else after writing If inside the while loop? Isn't it is mandatory to write 'Else' if there is a 'If' ?
@joshua_dlima4 жыл бұрын
Damn good explanation! Thanks sir
@mdzaki18443 жыл бұрын
Excellent explaintion🙌🙌
@rakshitverma35286 жыл бұрын
you really are amazing with your job keep it up :)
@zishan533 жыл бұрын
Osm lecture It is good than other platforms Wonderful
@nazmapervin71984 жыл бұрын
Ah..now i understand it... thank u so much!!
@anilakokapeta92034 жыл бұрын
I am getting successful output by writing this code for the first program:- #include void main() { int a; do{ printf("Enter any number: "); scanf("%d",&a); }while(!(a
@ictupdates2 жыл бұрын
Very confusing topic made simple b neso fantastic😃😃
@yehtikephyo944 жыл бұрын
You saved my life. Thanks for your lessons.
@arunabhachatterjee99793 жыл бұрын
we can also use this code in continue statement same output :- #include int main() { int i; for (i=1; i
@avinashkumarsingh20076 жыл бұрын
sir please keep uploading videos on C and data structures on a regular basis....
@I_veeresh2 жыл бұрын
what i I never understand in my life ,i understand here in this particular lrecture.
@GeeksPort6 жыл бұрын
Thank you... It was awesome...
@andistheinforitbutso75132 жыл бұрын
Good evening 🙏
@Aabara_ka_dabara Жыл бұрын
neso academy can you make a video on int main and void main diffrence and why return 0
@elcactus11592 жыл бұрын
thanks alot I really got help from this vidz
@gurmxet6 жыл бұрын
thanks man!! appreciated...
@charanm17733 жыл бұрын
You are the Best
@janvi.sharma063 жыл бұрын
Very helpful 🙏👍
@KaifKhan-pr5rk3 жыл бұрын
no need of that other equation just modulus the number if the value is 1 then odd otherwise even , continue statement can also be used for reversing the expression of the same written
I have a doubt In while couldn't we write while(n>0) Wouldn't it be the same
@vishallondhe72985 жыл бұрын
yup, but i guess he wanted to demonstrate the break statement in loop.
@SifenAbdi-sl6lz11 ай бұрын
am stuck on the fact WAP means "WRITE A PROGRAM"
@taifX187 ай бұрын
If you didn’t say that, I wouldn’t know LOL😢
@shubhamshiketd42566 жыл бұрын
Love you sir
@alejofossati2 жыл бұрын
Good tutorial over all but the example programs given are not the ones I would use... The one used for "continue" for example is convoluted. It's possible to do the same with a much simpler and intuitive method like checking if the reminder is 0 or not. IMO it would be way easier to understand if the example is a problem that actually requires the use of continue. I haven't thought of a case in which it's actually better to use continue but I'm sure there are some...
@harpreethundal98142 жыл бұрын
in my practical exam i saw a question which starts from WAP at that time i thought 🤔 it is out of syllabus and i did not tell to any
@Vish_0910 Жыл бұрын
I love your voice😍
@ayushiydvKG10 ай бұрын
thankyouuu 💌
@rajivattri206 жыл бұрын
u r d best
@khaleelshaikmohammad47593 жыл бұрын
Sir I have a small doubt. Why to write if statement inside the while Loop. Instead we can directly write while(n>0). Can you plz reply me 🙏🙏.
@mohamedsanoob.k11166 жыл бұрын
thanku for this video neso acadamy
@mohammedanwarsha42734 жыл бұрын
Nirthi poda
@penguingamingDS4285 жыл бұрын
due i liked it , i understood very easily , thx
@frsnzri797511 ай бұрын
so Break and Continue is going to be executed when the condition above them is True only right?
@memehhme2 жыл бұрын
Great....👏🏻
@siddhantsingh43234 жыл бұрын
Thanks a lot sir
@azurehecate48822 жыл бұрын
thank you sooo much
@nahlaabouchakra70744 жыл бұрын
why did you put n=n+2;
@kavithapriyacj48684 жыл бұрын
Please add complete.computer networks lectures please sir
@rao90762 жыл бұрын
Sir 9
@patchavavengalraovengalrao37843 жыл бұрын
for even numbers if we remove continue statement in second case...then what is the use of " if " statement????
@karimabdul507124 күн бұрын
2024❤, still feels afresh
@JKSmith-qs2ii4 жыл бұрын
if you break in a loop that is already in a loop, does it just continue the outer loop? Aka if break is in loop 1 which is in loop 2, does a break cause loop 2 to function again without finishing loop 1?
@yujii88203 жыл бұрын
It continues the outer one.
@hetaeramancer3 жыл бұрын
@@yujii8820 r u sure -_-
@rohitnakkina23933 жыл бұрын
simply fantastic!!
@kranthikumar66154 жыл бұрын
Sir I have a doubt?? If unexpectedly user hit a "character" as a input,then what happened..... What's the output then?????? And explain why that is happening there!!
@yoursnoorie2 жыл бұрын
I HAVE A DOUBT IN THIS PROGRAM N=N+2....SO WHY IT IS NOT IMPLIMENTING WHEN THE VALUE OF N=2 THE IT SHOULD BE 4 ...AND AFTER INCREMENTING IT SHOULD BE 5 SO WHERE THE THREE GOES
@CemDolcan2 ай бұрын
When i tried to change n value for seeing different opportunities I have noticed that something goes wrong. If I give n for 3,4 results are broke
@kritisrivastava64514 жыл бұрын
In first program can we use this condition- If(n!=0||n>0) { printf ("Enter a no."); scanf("%d",&n); } else break; }
@srikakulam90814 жыл бұрын
Yes you are right but using if else statement as you said we can take input value one time only.. We use if inside while we can enter positive number number of times. This example is given in this video..
@true41894 жыл бұрын
Thank u
@rudrapratapsingh10484 жыл бұрын
i have a doubt that when 4 will come than how i==n statement is true(because in upper statement we declared n=2) so it will be 4==2 which is not true plz explain someone
@shivamjha10492 жыл бұрын
Same doubt
@s.karunanidhis.karunanidhi41465 жыл бұрын
Tq
@anuragmukherjee7052 жыл бұрын
legendary
@ammugamingbudy33912 ай бұрын
Are u project shivoham
@ertugrullovers91673 жыл бұрын
Kya maza ha yr Kaash ki asa clg ma bhi pdhahtay
@dhruvpaglet2695 Жыл бұрын
Hi
@Hiyori___3 жыл бұрын
To print the odd numbers I created a program using the modulus operator. It gave me the same result but took 0.359 seconds while your program took only 0.141 seconds.