Тёмный

If Else in 1 Video | C Programming | Lecture 2 | Complete C Course 

College Wallah
Подписаться 651 тыс.
Просмотров 961 тыс.
50% 1

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

Опубликовано:

 

2 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3,5 тыс.   
@CollegeWallahbyPW
@CollegeWallahbyPW Месяц назад
📗 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
@suryabundhe9831
@suryabundhe9831 Год назад
The best C language series ever......
@kasturipranav8202
@kasturipranav8202 9 месяцев назад
Real
@rumelikhan259
@rumelikhan259 9 месяцев назад
Yes
@ManishSaini-kz3ee
@ManishSaini-kz3ee 7 месяцев назад
Sahi kha bhai
@user-so7ne8nx6e
@user-so7ne8nx6e 2 месяца назад
😮
@Learner_88
@Learner_88 8 месяцев назад
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
@rinabanerjee1000
@rinabanerjee1000 Месяц назад
Harry Potter is the best programming teacher in yt😅
@indhoneyyt737
@indhoneyyt737 Год назад
Kon kon chahta hai ki C language ka video regular sir jaldi jaldi aaye❤️🥰
@volcano1232
@volcano1232 Год назад
Tu nahi chahta kya😜
@gulshan07dev
@gulshan07dev Год назад
@@volcano1232 obviously chahta hu 😭😂
@Tcbanglabiography
@Tcbanglabiography Год назад
Hum 💓🥰🥰🥰🥰🥰🥰
@aryangupta3766
@aryangupta3766 Год назад
Obviously yaar
@kdpsharma3087
@kdpsharma3087 Год назад
Pdf kha se milega website pe bhi nhi hai
@riteshkaran1064
@riteshkaran1064 10 месяцев назад
we want raghav sir's regular batch for full stack web developement
@neepabeethighosh4140
@neepabeethighosh4140 2 месяца назад
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
@Durgesh2407
@Durgesh2407 Месяц назад
@@parag200 ato simping keno kois bhai
@adarshmisra2410
@adarshmisra2410 4 месяца назад
maza aa gya...concepts aur clear hote hain by solving the mcqs
@N-fc21
@N-fc21 5 месяцев назад
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
@rustamyadav9497
@rustamyadav9497 3 месяца назад
shi h lge rho!!
@MohdShuaib-nw3db
@MohdShuaib-nw3db 17 дней назад
Ai ne likha h ye😂​@@rustamyadav9497
@a_roxtech723
@a_roxtech723 5 дней назад
but sir already provided timestamps...
@ayush_pandey_17948
@ayush_pandey_17948 Год назад
Sir please continue this series, its very helpful for us 🖤💜
@hassubhai7965
@hassubhai7965 Год назад
Yes
@Stranger19998
@Stranger19998 Год назад
@@hassubhai7965 😅po
@entertainmentwithpk978
@entertainmentwithpk978 9 месяцев назад
Definitely yes
@himanshudeepanshusingh9894
@himanshudeepanshusingh9894 11 месяцев назад
worth it lecture to watch for freshers and even for those who just want to clear their basics !! Thank u sir...❤❤❤❤❤❤
@suryanshdobhal9321
@suryanshdobhal9321 2 месяца назад
Best teacher in the world kitna accha pda te h aap sir mind-blowing sb kuch easily samjh aa ja ta h superb sir 🙏🏻
@Actorpin2rao
@Actorpin2rao Месяц назад
You teach with your depth of your heart & mind & I understood the all topic that you teach in this lecture
@CodingWithSubha
@CodingWithSubha 7 месяцев назад
C IS WOW... AND MAAJA AA GAYA ....❤🎉
@rabishankarmandal6049
@rabishankarmandal6049 6 месяцев назад
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
@Coding-s
@Coding-s 3 месяца назад
Bole to awesome 😎 pura if else ka meaning samjh gya ye syntax kabhi nhi bhulunga ❣️
@mahekjoshi9959
@mahekjoshi9959 5 месяцев назад
Thankyou for giving me confidence to code on my own !!
@Studyislife
@Studyislife 10 месяцев назад
I have watched the whole video along with this, I also practiced all the questions...Thank you sir...
@____shekharrr____
@____shekharrr____ 10 месяцев назад
I like to watch your lecture sir. No daubt that your videos are lengthy but these are useful and helpful to improve our coding.❤
@mr_s.gargev__5185
@mr_s.gargev__5185 3 месяца назад
बहुत अच्छे से समझ में आया,मजा आ गया बहुत-बहुत धन्यवाद आपका
@ArjunDutta-cu8ce
@ArjunDutta-cu8ce 2 месяца назад
bohut kuch sikha sir, thank you sir
@soothing6074
@soothing6074 Год назад
Sir your method of explanation is stupendous. Thank you
@GAMER-fm2sf
@GAMER-fm2sf 9 месяцев назад
सचमे, मजा आ गया ❤ best explanation 😇
@rollnumbermuskanzahra
@rollnumbermuskanzahra 5 месяцев назад
sir aap boht acha smjhaty hain .thank u so much thank u so much to give us ur precious time
@mohsinall191
@mohsinall191 4 месяца назад
Maazaa Aa gya sir... bahut maaza aaya sir ..saare concept clear
@mr.nikhilfulpagare6778
@mr.nikhilfulpagare6778 7 месяцев назад
sir literally MAJA AA GYA . this series is very helpful for us please continue 💗💗
@keertij4673
@keertij4673 11 месяцев назад
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
@MrPerfect-tq7wb
@MrPerfect-tq7wb 9 дней назад
Maja aa gya sir,itna detailed lecture se basics pura strong ho gya
@kaisarali9937
@kaisarali9937 Месяц назад
Helpful video with amazing teaching skills
@AdityaShelke-hf7ds
@AdityaShelke-hf7ds 9 месяцев назад
Great teaching sir ❤
@theankushr
@theankushr 10 месяцев назад
Very nice explanation sir ☺️☺️ Thanks a lot to you ❤️
@PujaBamhande
@PujaBamhande Месяц назад
Too good lecture for coding and helpful to semester exam, thanks for these video
@NehaMathur-sx8no
@NehaMathur-sx8no 4 месяца назад
best lecture sir ji ...😊 Thank you so much ji and maja aa gya...♥
@vishupersonal9346
@vishupersonal9346 Год назад
Seriously mza aagya ❤❤❤ Any teacher only few teacher's told like this. You make concept very easy 🎉🎉🎉🎉💯💯
@Kunaltheking_209
@Kunaltheking_209 11 месяцев назад
awesome helpful series ❤❤
@Kishangupta72_
@Kishangupta72_ 4 месяца назад
Absolutely gorgeous lecture I really appreciate this lecture ❤❤❤
@joshimanish6980
@joshimanish6980 6 месяцев назад
Very useful and informative for me❤ ...thank you so much😊!!
@Satyamtomar7777
@Satyamtomar7777 Год назад
Mind-blowing video ❤❤
@Apna_B_Vlog
@Apna_B_Vlog 9 месяцев назад
Awesome class mza aa gya padh kr ❤❤❤
@qtsalokgaming
@qtsalokgaming 3 месяца назад
The best teacher on whole youtube
@PrathamSoni-lb5eq
@PrathamSoni-lb5eq Месяц назад
Bhai Jabardast Maja AA Gaya 👍👍 kya gaajab explain kiva hei Edam Crystal clear
@fanfsty.
@fanfsty. Год назад
U r absolutely grt sir no competition hats off to your way of teaching how greatly u solve all the hindrance
@Aditya.b_1814
@Aditya.b_1814 Год назад
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.
@armanrahman2446
@armanrahman2446 11 месяцев назад
yupp bro i am also learning from bangladesh... i am learning it though it is not even in my syllabus..
@AranyaRaj
@AranyaRaj 11 месяцев назад
​@@armanrahman2446No matter , Stay hard !
@rajkantsagar7865
@rajkantsagar7865 3 месяца назад
Bahut badhiya hai sir Mza aa rha hai hum starting se aapka video dekh rhe hai and it is very helpful
@adityabalraj4724
@adityabalraj4724 Месяц назад
Thankyou sir 😌 Really enjoyed the class 😃.
@user-nv3bp1tx4o
@user-nv3bp1tx4o 10 месяцев назад
"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."
@vinitmaurya3177
@vinitmaurya3177 Год назад
Mja aa aaya Thank sir ❤ C language lecture is very nice.😊 Thanks 🙏🙏👍
@G0VINDXYZVLOGS
@G0VINDXYZVLOGS Месяц назад
Maja 😊 aa gaya sir ji 😊😊 bahut hi badhiya padhaya aapne. Sab samajh aaya.
@khanhuzaifa33
@khanhuzaifa33 2 месяца назад
Maza aa gaya sir 😊 aap bht accha padhate ho
@ayeshatabassum546
@ayeshatabassum546 6 месяцев назад
I'm from Pakistan.your teaching method is another level ❤❤❤
@Vishal-ch7eb
@Vishal-ch7eb Год назад
MAZA AA GAYA SIR☺ THANK YOU SO MUCH FOR THIS WONDERFUL AND RESOURCEFUL LECTURE💓💓 AND EVERYTHING WAS PERFECT💯
@rohit3148
@rohit3148 Месяц назад
maza aa gya sir, great lecture .👍👍
@Actorpin2rao
@Actorpin2rao Месяц назад
I saw full lecture, you teach this lecture vert well & in easy way so , thank you
@Rajvanshi935
@Rajvanshi935 3 месяца назад
Maja aagya sir 🎉🎉all basic doubt clear 👍
@shudhanshusingh1401
@shudhanshusingh1401 Год назад
Maja aa gya sir (one request sir : please upload video frequently because we are in desperate need of your video)
@Saimakawal788
@Saimakawal788 3 месяца назад
Best teacher of RU-vid in c language ❤❤
@sahiltadavi8539
@sahiltadavi8539 2 месяца назад
Bhot maja aaya sir Thank you so much ❤❤
@gauravgupta5556
@gauravgupta5556 Год назад
Sir plz continue this valuable series for us 🙏👌🙏
@jagannathsahoo6018
@jagannathsahoo6018 Год назад
Infinity Thanks for your support sir ❣️❣️
@bookshots23
@bookshots23 2 месяца назад
Maza aa gya ,thanku sir❤
@QaiyumAnsari-dy7gt
@QaiyumAnsari-dy7gt 2 месяца назад
maza aa gya sirrr so beautiful lecture!
@arc_ch
@arc_ch Год назад
Very Good Lecture as usual by Raghav Bhaiya 🙌
@Divya-ig1be
@Divya-ig1be Год назад
Amazing Lecture sir, All concept clear in a very easy way..👍💯 Thank u so much SIR❤..
@Akshat_kumar_X07
@Akshat_kumar_X07 5 месяцев назад
MAZA AA GAYA SIR you are the best teacher that i found on youtube
@user-jf5jd9xn5i
@user-jf5jd9xn5i 5 месяцев назад
maaza aa gya...thank you sir :)
@ShivanshSingh-os5nd
@ShivanshSingh-os5nd 10 месяцев назад
Loved the session ❤❤MCQ's were mind blowing 😊😊
@sandeepxt99
@sandeepxt99 Год назад
You are a really good heart ❤️❤️❤️ And your teaching methods is great
@hritikkumarroll2871
@hritikkumarroll2871 Год назад
Mza aa gya sir ❤️
@sandeepxt99
@sandeepxt99 Год назад
@@hritikkumarroll2871 are you want to become my friend
@MrPerfect-tq7wb
@MrPerfect-tq7wb 8 дней назад
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
@akash-21
@akash-21 3 месяца назад
Amazing lecture 💯
@computerlanguages-fw1yw
@computerlanguages-fw1yw 10 месяцев назад
Maja aa gya sir You are the great ❤❤❤
@msdprakash3208
@msdprakash3208 Год назад
You are a really good heart ❤❤❤ And your teaching methods is great
@piyushsoni4475
@piyushsoni4475 2 месяца назад
Sir bahut maja aa gya Helpful lacture sir ❤
@luqmanjutt2239
@luqmanjutt2239 2 месяца назад
Method of teaching is very well sir
@iftekharahmedansri6569
@iftekharahmedansri6569 Год назад
Sir! I watched this video also completely , and practiced each and every question. Thank You Sir! You are great!🙌
@priyanshukumari1712
@priyanshukumari1712 25 дней назад
Finally finished and sir thank you
@prashantbhanwala18
@prashantbhanwala18 Месяц назад
mind blowing lecture sir.......................
@trishitamaity3496
@trishitamaity3496 Год назад
Sir please continue this series. your teaching style is outstanding.
@rakshithml4631
@rakshithml4631 Год назад
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 ❤️❤️❤️
@satendrachauhan5120
@satendrachauhan5120 Год назад
😀😀😀
@swastidhenkula8602
@swastidhenkula8602 2 месяца назад
Sach me maja aa gya padhke..bahut kuch seekha sir..thank you
@swatiraghuwanshi8431
@swatiraghuwanshi8431 4 месяца назад
I have watched full video..... Great way of teaching 👍👍
@abcdefgh3973
@abcdefgh3973 6 месяцев назад
Loved it you make it easier for me to understand the coding thanks raghav sir ❤️
@akshit_mehtani
@akshit_mehtani Год назад
Thankyou sir nice video loved it Started watching it 12:30, 6:00 it is now this is very nice
@Heersaxena13
@Heersaxena13 5 месяцев назад
This video helps to increase my programming skill.💫
@50_bca_danishalam71
@50_bca_danishalam71 3 месяца назад
Good lecture sir. maza aa gya😀
@digitalanand9589
@digitalanand9589 Год назад
maja aa gya bhaiya keep uploading such amazing lectures😍😊
@manuu1810
@manuu1810 8 месяцев назад
Sir I learn much from u more than my college faculty ❤❤❤
@monali3422
@monali3422 Месяц назад
THANK YOU SO MUCH...RAGHAV SIR .. HAR LECTURE MEIN MAZA ATAHI HAI. Learning and enjoying.
@Actorpin2rao
@Actorpin2rao Месяц назад
You are the best teacher
@user-ge8or4fm7c
@user-ge8or4fm7c 3 месяца назад
thankuvery much Raghav bhaiya..... mereko bahut problem the c me but aab mai dhire dhire kr paa rhi hu....
@SanskarsPandey
@SanskarsPandey 5 месяцев назад
sir I was struggling so much with c until I found this playlist. you are the best sir!
@Muzzammilhanafi7917
@Muzzammilhanafi7917 5 месяцев назад
Sir it is my second video that I have been watching constantly and learning...... I am extremely grateful. And at the end maza agaya
@waytosuccess9523
@waytosuccess9523 Месяц назад
This lecture is very helpful
@gmvvlog
@gmvvlog Год назад
Kab se wait tha
@Zedge654
@Zedge654 11 месяцев назад
Very Nicely done. One suggestion video time should be minimum 😊😊😊
@amitpandeyamitpandey631
@amitpandeyamitpandey631 2 месяца назад
the best teacher c programing
@sandeepsuthar2544
@sandeepsuthar2544 Месяц назад
Best tutorial to learn C language...salute sir..
@rishabhghildiyal3460
@rishabhghildiyal3460 2 месяца назад
if cp is 100 and sp also 100 in my opinion output will be neither loss nor profit 37:52
@piyushkumarmahto5495
@piyushkumarmahto5495 Месяц назад
Galat
@SujayGatait
@SujayGatait 6 месяцев назад
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...🤗
@assassinworld
@assassinworld Месяц назад
You are obviously a good teacher for all type of student. I enjoyed full lecture. ❤
@B_Sena
@B_Sena 3 месяца назад
This is one of the rare full detail video in the youtube.
@samislost550
@samislost550 Год назад
Predict The OutPut Homework Ans HW 1- 15150 HW 2- 0201 Maza Aa gaya sir❤️✨🙌
@India_11111
@India_11111 Год назад
Brother, HW2==1201;
@vivekviveksharma5491
@vivekviveksharma5491 Год назад
@@India_11111 why?
@India_11111
@India_11111 Год назад
@@vivekviveksharma5491 bhai check kar lo
@yatharthjais
@yatharthjais Год назад
@@India_11111 compiler pe toh 1201 aa ra hai but kyu aa ra hai logic kya hai as x is assigned value 15 in first step so the answer must be 0201
@user-kf4ox1qn1i
@user-kf4ox1qn1i 10 месяцев назад
@@yatharthjais yes and also 2:44:40 is also wrong
Далее
4 Years of Coding in 4 Minutes - A Short Movie
3:49
DO NOT Dunk Here ❌🏀
00:20
Просмотров 7 млн
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
7 Indian Exam Tech You Didn't Know !
12:42
Просмотров 506 тыс.
Pay Your Own Fees - Honest Roadmap for Students⚡
5:26