If Else in 1 Video | C Programming | Lecture 2 | Complete C Course
HTML-код
- Опубликовано: 3 авг 2024
- In this video, Raghav Sir will teach you IF ELSE statement in DETAIL. This is Lecture 2 of the C Programming series. Topics covered are - If-Else, Nested If-Else, Else If and Ternary Operator. Additionally, 22 Problems are covered in this video and 6 Homework questions are given. In the next lecture, we will cover LOOPS and PATTERN PRINTING in C.
Lecture Notes: drive.google.com/file/d/1N1ah...
If you are joining us late, to know more about PWSkills & plans :
Watch the Orientation Video: • C++ DSA and Java DSA -...
Watch the Launch Video: • @CollegeWallahbyPW THI...
00:00 Intro
02:21 Problem 1 : Program to find out if number is Even or Odd
10:24 How “IF” statement works
17:07 IF-ELSE statement
20:53 Problem 2 : Program to find out if number is divisible by 5 or not
22:22 Homework 1 : Program to find out if year is leap year or not
24:24 Problem 3 : Program to print absolute value of given integer
32:22 Problem 4 : Program to tell if profit is made or loss
41:30 Homework 2 : Program to find the profit / loss
41:39 Problem 5 : Program to find out if area of rectangle is greater than its perimeter
46:23 MULTIPLE CONDITIONS in If-Else statement
49:00 Problem 6 : Program to find out if number is three digit or not
52:48 Problem 7 : Program to find out if number is divisible by 5 and 3
54:00 Problem 8 : Program to find out if number is divisible by 5 or 3
57:03 Problem 9 : Program to find out greatest of three given numbers
1:04:08 Homework 3 : Program to find out greatest of four given numbers
1:05:13 Problem 10 : Program to find out if 3 given numbers can be sides of a triangle
1:09:43 Homework 4 : Program to find out youngest of three given ages
1:10:31 NESTED IF ELSE
1:10:59 Problem 11 : Program to find out if number is divisible by 5 and 3
1:16:34 Problem 12 : Program to find out if number is divisible by 5 or 3 but not 15
1:20:56 IMPORTANT RULES for MULTIPLE CONDITIONS
1:29:15 Difference between “=” and “==”
1:39:07 Problem 13 : Program to find out greatest of three given numbers
1:50:20 ELSE IF
1:54:58 Problem 14 : Print Grades given to corresponding marks
2:03:57 Problem 15 : Program to check if three points lie on a line
2:07:33 Problem 16 : Program to find if point lies on X-Axis, Y-Axis or origin
2:15:25 TERNARY OPERATOR
2:22:28 Problem 17 : Predict the output - 1
2:25:45 Problem 18 : Predict the output - 2
2:28:32 Problem 19 : Predict the output - 3
2:31:14 Problem 20 : Predict the output - 4
2:33:38 BOOLEAN DATA TYPE
2:41:20 Homework 5 : Predict the output - 5
2:41:43 Problem 21 : Predict the output - 6
2:44:46 Homework 6 : Predict the output - 7
2:45:07 Problem 22 : Predict the output - 8
2:47:27 THE REAL THING
2:54:50 MAZA AA GAYA
▶️ PW Skills Website - pwskills.com
▶️ PW Skills Instagram - / pwcollegewallah
▶️ PW Skills LinkedIn Channel -
▶️ PW Skills Telegram Channel- t.me/SkillsPW
#CollegeWallah #PhysicsWallah #PhysicsWallahDkills #PWSkills #Programming #C_Language_Programming #C_Programming
📗 Enroll Now in Decode Batches and become JOB READY:
📌 Python with DSA: bit.ly/4bXv5xF
📌 Java with DSA: bit.ly/49vEQkZ
📌 C++ with DSA: bit.ly/49NnNKT
MazA aagya sir!!
The best C language series ever......
Real
Yes
Sahi kha bhai
😮
Kon kon chahta hai ki C language ka video regular sir jaldi jaldi aaye❤️🥰
Tu nahi chahta kya😜
@@volcano1232 obviously chahta hu 😭😂
Hum 💓🥰🥰🥰🥰🥰🥰
Obviously yaar
Pdf kha se milega website pe bhi nhi hai
The best teacher on whole youtube and best lecture of c .... believe me no one can teach like him just we need to invest our time
Harry Potter is the best programming teacher in yt😅
we want raghav sir's regular batch for full stack web developement
00:00 Intro
02:21 Problem 1 : Program to find out if number is Even or Odd
10:24 How “IF” statement works
17:07 IF-ELSE statement
20:53 Problem 2 : Program to find out if number is divisible by 5 or not
22:22 Homework 1 : Program to find out if year is leap year or not
24:24 Problem 3 : Program to print absolute value of given integer
32:22 Problem 4 : Program to tell if profit is made or loss
41:30 Homework 2 : Program to find the profit / loss
41:39 Problem 5 : Program to find out if area of rectangle is greater than its perimeter
46:23 MULTIPLE CONDITIONS in If-Else statement
49:00 Problem 6 : Program to find out if number is three digit or not
52:48 Problem 7 : Program to find out if number is divisible by 5 and 3
54:00 Problem 8 : Program to find out if number is divisible by 5 or 3
57:03 Problem 9 : Program to find out greatest of three given numbers
1:04:08 Homework 3 : Program to find out greatest of four given numbers
1:05:13 Problem 10 : Program to find out if 3 given numbers can be sides of a triangle
1:09:43 Homework 4 : Program to find out youngest of three given ages
1:10:31 NESTED IF ELSE
1:10:59 Problem 11 : Program to find out if number is divisible by 5 and 3
1:16:34 Problem 12 : Program to find out if number is divisible by 5 or 3 but not 15
1:20:56 IMPORTANT RULES for MULTIPLE CONDITIONS
1:29:15 Difference between “=” and “==”
1:39:07 Problem 13 : Program to find out greatest of three given numbers
1:50:20 ELSE IF
1:54:58 Problem 14 : Print Grades given to corresponding marks
2:03:57 Problem 15 : Program to check if three points lie on a line
2:07:33 Problem 16 : Program to find if point lies on X-Axis, Y-Axis or origin
2:15:25 TERNARY OPERATOR
2:22:28 Problem 17 : Predict the output - 1
2:25:45 Problem 18 : Predict the output - 2
2:28:32 Problem 19 : Predict the output - 3
2:31:14 Problem 20 : Predict the output - 4
2:33:38 BOOLEAN DATA TYPE
2:41:20 Homework 5 : Predict the output - 5
2:41:43 Problem 21 : Predict the output - 6
2:44:46 Homework 6 : Predict the output - 7
2:45:07 Problem 22 : Predict the output - 8
2:47:27 THE REAL THING
2:54:50 MAZA AA GAYA
shi h lge rho!!
Ai ne likha h ye😂@@rustamyadav9497
but sir already provided timestamps...
Sir, you are obviously a good teacher for all type of student's, Thank you sir 🤩🤩
this is the best video for c programming , even for fresher those who join college in first year .....thank you raghav sir.........
worth it lecture to watch for freshers and even for those who just want to clear their basics !!
Thank u sir...❤❤❤❤❤❤
Bahut bahut bahut jyada maza aagaya sir……….
Your explaining style is awesome, you include every small2 things to describe………….
You teaching very simple way… it’s admit my heart……….
…….. before I watch your videos sir…. I learn somewhere…. After I watch your video, I really happy and start follow you……..
Now o watch every single full video of your…..🙏🙏🙏🙏🙏tq
Your lectures are the best. I was not getting bored a single minute while watching your lecture.Your explanation is just awesome🥰
Mja aa gya guru ji mene dekha pura video 1 and 2 abhi 3 Start kar rha hoo so aarsiwad dijiye 🎉🎉🎉🎉
Ashirwad hai kro ....
Sir please continue this series, its very helpful for us 🖤💜
Yes
@@hassubhai7965 😅po
Definitely yes
C IS WOW...
AND MAAJA AA GAYA ....❤🎉
You are the best teacher sir. I am not coming from coding background but currently i am studying in Btech in IT so your lecture on C language is the best for improving my coding skills . I really improved myself
@@lalumondal4 ato simping keno kois bhai
@@Durgesh2407 Its not simping bro, I am a boy but I have to say The teacher is really best
@@someshbiswas119 you are getting the things wrong....not your fault tho...the person whom I replied to was not talking about the teacher but some random shitty things....so sorry for that misunderstanding...I respect sir for each and every second he gave to us
@@Durgesh2407 Holy Moly you are right man, my fault, I didn't see it was a different person, Btw I am from WBtoo
@@someshbiswas119 it's ok bro...so are you in college or school?
Bole to awesome 😎 pura if else ka meaning samjh gya ye syntax kabhi nhi bhulunga ❣️
I like to watch your lecture sir.
No daubt that your videos are lengthy but these are useful and helpful to improve our coding.❤
Seriously mza aagya ❤❤❤
Any teacher only few teacher's told like this.
You make concept very easy
🎉🎉🎉🎉💯💯
maza aa gaya log pata nhi kyu bolte hai online coding sikhna kathin and boring hota hai lagta hai unhone aaj tak sir ki video nhi dekhi for me best lecture ever.
You teach with your depth of your heart & mind & I understood the all topic that you teach in this lecture
I have watched the whole video along with this, I also practiced all the questions...Thank you sir...
"Teachers are the guiding stars that illuminate the path of knowledge, igniting the flames of curiosity and inspiring the minds of tomorrow."
"Thank you, Raghav sir, for yet another insightful and engaging lecture! Your clear explanations and dedication to sharing knowledge truly make a difference in my learning journey. Looking forward to more enriching sessions like this."
At 15:03 , instead of ! if we write it as (n%2==1) { printf("odd number") ;}
It can also give the same output
but not all remainders are 1
2:47:15 you really made C language wow for us thank you sir 😊
sir literally MAJA AA GYA . this series is very helpful for us please continue 💗💗
सचमे, मजा आ गया ❤ best explanation 😇
Really me to yu hi dekha ki bca me C kesi hoti h Or smj bhi aagya❤
Best teacher in the world kitna accha pda te h aap sir mind-blowing sb kuch easily samjh aa ja ta h superb sir 🙏🏻
Sir your method of explanation is stupendous.
Thank you
Hats off to the college wallah team and the tutor who is continuosly delivering the ideas . I must say, your hardwork will pay you back.
MAZZA AAGAYA, AAPNE MAUSAM BADAL DIYA HAI.
yupp bro i am also learning from bangladesh... i am learning it though it is not even in my syllabus..
@@armanrahman2446No matter , Stay hard !
maza aa gya...concepts aur clear hote hain by solving the mcqs
The best teacher on whole youtube
Sir this session was awesome i scored average mark only in my c language but after attending your session understood the in depth concept thank you sir
Maja aa gya sir (one request sir : please upload video frequently because we are in desperate need of your video)
Best teacher of RUclips in c language ❤❤
Bahut badhiya hai sir
Mza aa rha hai hum starting se aapka video dekh rhe hai and it is very helpful
U r absolutely grt sir no competition hats off to your way of teaching how greatly u solve all the hindrance
Thankyou for giving me confidence to code on my own !!
Maazaa Aa gya sir... bahut maaza aaya sir
..saare concept clear
Thank you sir. Mazaa aagaya
Great teaching sir ❤
Very nice explanation sir ☺️☺️
Thanks a lot to you ❤️
Bhai Jabardast Maja AA Gaya 👍👍 kya gaajab explain kiva hei Edam Crystal clear
Sir aaj maine aapka 2nd lecture dekha, literally maja aa gya,itne saare examples and questions karaye ki sabkuch clear ho gya,great lecture THANK YOU SIR
awesome helpful series ❤❤
Mja aa aaya Thank sir ❤
C language lecture is very nice.😊
Thanks 🙏🙏👍
This is one of the rare full detail video in the youtube.
MAZA AA GAYA SIR you are the best teacher that i found on youtube
Awesome class mza aa gya padh kr
❤❤❤
Now I am ready to teach my teacher about if else 😁
It was an amazing lecture sir thank u so much for ur efforts please upload regularly ❤️❤️❤️
😀😀😀
बहुत अच्छे से समझ में आया,मजा आ गया बहुत-बहुत धन्यवाद आपका
Maja aa gya sir,itna detailed lecture se basics pura strong ho gya
I'm from Pakistan.your teaching method is another level ❤❤❤
Maja aagya sir 🎉🎉all basic doubt clear 👍
Too good lecture for coding and helpful to semester exam, thanks for these video
2:55:06 FIRSE MAZA AA GYA SIR, vese 3 din lage pura karne mei par MAZA AA GYA
Very Good Lecture as usual by Raghav Bhaiya 🙌
Sir plz continue this valuable series for us 🙏👌🙏
You are obviously a good teacher for all type of student. I enjoyed full lecture. ❤
Maja aa gaya bhaiya..❤❤.
Sara concept acche se samajh me aa gaya..
Mind-blowing video ❤❤
MAZA AA GAYA SIR☺
THANK YOU SO MUCH FOR THIS WONDERFUL AND RESOURCEFUL LECTURE💓💓
AND EVERYTHING WAS PERFECT💯
Your r the superb, excellent nd best teacher sirrrrr... Itna clear koi nhi samjha sakta hai.. Thank you so much sir jiiiii ❤🙏
I saw full lecture, you teach this lecture vert well & in easy way so , thank you
Sir! I watched this video also completely , and practiced each and every question.
Thank You Sir!
You are great!🙌
Maja 😊 aa gaya sir ji 😊😊 bahut hi badhiya padhaya aapne. Sab samajh aaya.
Maja aa gya sir, teaching your best ❤❤❤
Amazing Lecture sir, All concept clear in a very easy way..👍💯
Thank u so much SIR❤..
Mazza aa gya
best lecture sir ji ...😊
Thank you so much ji and maja aa gya...♥
as a beginner i really feel that this is the best lecture i have ever seen .😇
Maja aa gya sir
You are the great ❤❤❤
maaza agaya....🤩🤩
I'm a first year student & I had no idea & knoledge about coding, but this is my 1st coding course, I'm watching, and now I can say I can write program...Thak You Sir...🤗
You are a very good teacher. Your presentation and technique is very good. 👍
Maaja aagya Sir Jii ❤❤
sir I was struggling so much with c until I found this playlist. you are the best sir!
Loved the session ❤❤MCQ's were mind blowing 😊😊
best teacher for coding
yes
i've been pausing at literally every opportunity and question to code it myself and been suceeful. The biggest problem being forgetting to add '&' in 'scanf'🤣.
Sir please continue this series. your teaching style is outstanding.
You are a really good heart ❤️❤️❤️
And your teaching methods is great
Mza aa gya sir ❤️
@@hritikkumarroll2871 are you want to become my friend
Sach me maja aa gya padhke..bahut kuch seekha sir..thank you
THANK YOU SO MUCH...RAGHAV SIR .. HAR LECTURE MEIN MAZA ATAHI HAI. Learning and enjoying.
Sir I learn much from u more than my college faculty ❤❤❤
You are a really good heart ❤❤❤
And your teaching methods is great
Excellent 👌 just awesome. I'm impressed by your teaching skill. 👏
maza aa gya sir, great lecture .👍👍
Infinity Thanks for your support sir ❣️❣️
Loved it you make it easier for me to understand the coding thanks raghav sir ❤️
Maza aa gya sir thank you for explaining this in a very smooth and easy way
finally the lecture is DONE ☑☑☑☑
And "MAZA AA GAYA SIR JI"
Thankyou sir nice video loved it
Started watching it 12:30, 6:00 it is now this is very nice
thankuvery much Raghav bhaiya.....
mereko bahut problem the c me but aab mai dhire dhire kr paa rhi hu....
Maza aa gaya sir 😊 aap bht accha padhate ho
Literally maza aagya❤❤❤❤❤
maja aa gya bhaiya keep uploading such amazing lectures😍😊
if cp is 100 and sp also 100 in my opinion output will be neither loss nor profit
37:52
Galat
Best tutorial to learn C language...salute sir..
maja aa gaya, thank you sir!
your work is very helpful
power of education
Bhai main bahut khush hun aaj kab se intezar tha is part ka ❤️