28 age: All statements will execute 16 age: Last three statements will execute 14 age: You can go coffee with me and its time to go home will execute
@manishnegi69272 жыл бұрын
i need a buddy who is also watching the playlist now !!. Amazing work mam you are blessed with your teaching skills your hardwork could be clearly seen while teaching that you have done as a student
@richieabbugamingff4982 жыл бұрын
me
@zakariamahamasaani65782 жыл бұрын
@@richieabbugamingff498 me as well
@cheezaculturaltroupe.7337 Жыл бұрын
Here too
@fanofabdevillersandmathslo5960 Жыл бұрын
@@cheezaculturaltroupe.7337 me too let us see who can complete playlist fastly and effectively
@mohammadmoizuddin5989 Жыл бұрын
Hehe 🤭
@siddiqaahmed2564 Жыл бұрын
your teaching style is so outstanding keep it up.Most of the students demanding a great teacher of computer and you are a best
@francisa.k.mensahjr.7885 Жыл бұрын
watching the playlist from Ghana, West Africa . Thanks for the dedication.
@asu253941simi4 ай бұрын
I am wathing from Portugal.. I tried CS50, and could not get as a beginner but when i got your lectures its like complete C learning Thanks again and more power
@anandsinha22892 жыл бұрын
in the first input age =28 your age is 28 you can go coffee with me your age is 28 it's time to go home for input Age=16 you can go coffee with me your age is 16 it's time to go home for input Age =14 you can go coffee with me it's time to go home
@devSackey Жыл бұрын
correct
@Amruthagaddi-d4i Жыл бұрын
You can go coeffe with me will not excited for age 16&14 because (1620)
@mayukhsen6910 Жыл бұрын
@@Amruthagaddi-d4i you can go to coffee with me will get printed because there are no curly braces present,,so if will control only single statement,the one after if
@manohargonuguntla9739 Жыл бұрын
Superb the same answer is in my mind..😊
@Sindhuuu99 Жыл бұрын
@@mayukhsen6910in the case of 16 & 14 you can go coffee with me is not printed
@Divyesh_db2 жыл бұрын
Assingment answers : (i) for age = 28 1st and 2nd both if blocks would be printed (ii) for age = 16 2nd if block will be printed (iii) for age = 14 no if blocks would be printed, only last sentence would be printed.
@neeln7_1472 жыл бұрын
Wrong...see there is no curly brackets{} ... So in (i.) All statements will be executed (ii.)1st statements will not executed, but remaining 3 will be executed (iii.)1st and 3rd statements will not be executed but remaining 2nd and 4th statements will be executed
@chirag62162 жыл бұрын
@@neeln7_147 curly braces are used only to print for a particular if statement all other conditions and statements.
@suryaharshith38582 жыл бұрын
@@neeln7_147 haa.. true
@silaganasneha9719 Жыл бұрын
@@neeln7_147 will u plz menstion the statements in shortcut
@neeln7_147 Жыл бұрын
@@silaganasneha9719 i have already written it in short, still if you want then tell me i would mention the exact output 😅
@sakshibhore47020 күн бұрын
Your way of teaching is awesome ❤
@SadhanaSharma3 жыл бұрын
21:43 Enter age :28 Your age is 28 .you can go coffee with me. Your age is 28. It's time to go home Enter age :16 You can go coffee with me Your age is 16. it's time to go home. Enter age : 14 You can go coffee with me. It's time to go home.
@rajeshreddy98322 жыл бұрын
very good
@shivam71643 жыл бұрын
21:42 /*for 28 your age is 28 you can go coffee with me your age is 28 its time ti go home for 16 you can go coffee with me your age is 16 Its time to go home for 14 you can go coffee with me Its time to go home*/
@deerghaneja12173 жыл бұрын
Right brdr✔️✔️
@jeyaharinivj63783 жыл бұрын
Yeah i too got the same op but i have a dbt is this crt???
@jeyaharinivj63783 жыл бұрын
Y because if oru age greater than 20means it should show one statement right why its showing all the statement
@ShyamSundar-xd4lb2 жыл бұрын
@@jeyaharinivj6378 you can go coffee with me and its time to go home donot come under if block because of no curly braces. Hope u got it.
@Abhitherock-gv6cg9 ай бұрын
hii mam this is a abhishek sahu one of your student mam i am very happy and delight to study with your channel thank you mam for this unpaid video
@venugopalala6 ай бұрын
1)For age : 28 Output: Your age is : 28 You can go coffee with me It's time to go home 2)For age :16 Output: Your age is 16 It's time to go home 3))For age :14 Output: Your age is 16 It's time to go home
@18fatima158 ай бұрын
20:10 when age=28, output: Your age is 28. It's time to go home when age =16, output: Your age is 16 It's time to go home when age=14 It's time to go home
@sayidahmed2972 жыл бұрын
thanks very much. definitely, you helped me with this course c programming language.
@SpritualWander7 ай бұрын
So beautiful so elegant just teaching woww wow ,, when you look towards camera it feels like you are teaching me only 😂
@honey-vg2vk2 жыл бұрын
For 28 Output: your age is:28 you can go coffee with me Your age is 28 Its time to go home For 16 Your age is 16 Its time to go home For 14
@beekei_patel3 жыл бұрын
Condition is for equals to 20 or less than 20 .these numbers would be for true condition 1 ,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
@mani_ryal_84658 ай бұрын
Why all that numbers
@srikara41982 жыл бұрын
You and your explanation is so beautiful mam🌟
@bommareddyharshavardhanred4069 Жыл бұрын
Aha
@shreekumartatte27543 жыл бұрын
Mam You teach so clearly and we all get understood. Also u looks cute and cool. i impressed from your eyes.
@chirag62162 жыл бұрын
if age is above 20, then all the four statements will be printed if age is above 15, then three statements: you can go coffee with me,age and its time to go home will be printed if age is 14, then both the age statements will no be printed and except the other two statements : you can go coffee with me and its time to go home will be printed. Means only kids under 15 will be entairtained and will enjoy the most.
@vedantkulkarni54373 жыл бұрын
Finally!!!!.....the video i wanted so badly !!!!
@Arya_ayami11 ай бұрын
for age 20 : both blockes with be printed for age 16 :in first block only (u can go cooffe ... ) will bre printed because we have logical && and 16 >20 so first conditions is worng but second statment will be excuted becuase we have no curly bracets and both statments in second block will be printed for age 14 : second statment in block 1 and second statment in block 2
@pratikmarathe11183 жыл бұрын
All doubts clear mam I am engineering student mam Thank you 🙏
@priyankapaul70772 жыл бұрын
Are you a computer engineering student?
@pratikmarathe11182 жыл бұрын
@@priyankapaul7077 no i am Mechanical student
@priyankapaul70772 жыл бұрын
@@pratikmarathe1118 ohh, do you have codings in mechanic engineerings?🤔
@pratikmarathe11182 жыл бұрын
@@priyankapaul7077 no its just for knowledge about coding
@priyankapaul70772 жыл бұрын
@@pratikmarathe1118 Making knowledge is a good habit..👍🏼😁
@HansiBharath Жыл бұрын
Thanks for teaching c programming for free of cost❤
@isaac-victorshonowo1838 Жыл бұрын
Watched and Understood ❤ I've started writing if statement codes... so cool. I even started using else already 🤣
@durgalankipalli25412 жыл бұрын
1. Without curly braces, output will be You can go coffee with me Its time to go home 2. If age is 28: Your age is 28 You can go coffee with me Its time to go home If age is 16: Your age is 16 Its time to go home If age is 14: Its time to go home
@Jay_Vyas Жыл бұрын
Output Without curly braces You can go coffee with me It's time to go home //It would not print your age is=x for numbers less or equal to 20 as it's part of if statement. Only the last two statements will be executed for numbers less than 20
@hadieudonne4333 жыл бұрын
Wow, thank you so Madam for adding another one!!!!!
@Kasichintu1432 жыл бұрын
U lucky boy getted a like from jeeny
@madhumalipremarathna30383 жыл бұрын
16:55 when age is 20 the if statement will not be executed. As there are no {} for if block the output will be : You can go for coffee with me Its time to go home 21:40 When age is 28 : Enter age = 28 Your age is 28 You can go for coffee with me Your age is 28 Its time to go home When age is 16 : Enter age = 16 You can go for coffee with me Your age is 16 Its time to go home When age is 14 : You can go for coffee with me Its time to go home
@krishnapriya38723 жыл бұрын
Ur wrong When age is 16: Enter age = 16 Its time to go home Same applies for when age is 14
@rajIntrovert41503 жыл бұрын
@@krishnapriya3872 NO, it's correct because in first IF statement { } are not mentioned
@telugufactsbadi14913 жыл бұрын
Yes it’s correct
@jayavardhanchelluru119Ай бұрын
Very good!! Even you're explaining the general mistakes that a student do'es🎉
@sanjaybhatt8982 жыл бұрын
Mam you are so best teacher in c programming
@AnuSurya103 ай бұрын
Answer for the assignment: Let's call the statements 1, 2, 3, 4. For 28: All 4 statements will be printed. For: 16: Statements 2, 3 and 4 will be printed. For 14: Statements 2, 4 will be printed.
@shinyrao27863 жыл бұрын
Case 1 For age 28: Output: Your age is 28 You can come to coffe with me You age is 28 You can go home. Case 2 For age=14 Output: You can come to coffe with me You can go home. Case 3 For age:16 Output: You can come to coffee with me Your age is 16 You can go home....
@iasaspirant14413 жыл бұрын
Correct broh I too got same output while solving
@tinula3 жыл бұрын
@@iasaspirant1441 can u show me how to put a break in if condition and for loop in c is there any way
@ayushbajpai10793 жыл бұрын
Sahi hai bhai
@techplay13 жыл бұрын
Checkout c conditional statements on our channel also
@SurajMapariPrivate3 жыл бұрын
Output for age 28 >> Enter age : 28 Your age : 28 Yes you can go coffee with me Your age is 28 It's time to go home Output for age 16 >> Enter age : 16 Your age : 16 It's a time to go home Output for age 14>> Enter age : 14 (Basically program ends here)
@rajIntrovert41503 жыл бұрын
enter age: 14 I think it gives output - You can go coffee with me Its a time to go home Because { } are not mentioned in two IF statements
@crickyfire56213 жыл бұрын
@@rajIntrovert4150 sir I not getting your words can you please tell how this printed
@ShyamSundar-xd4lb2 жыл бұрын
@@crickyfire5621 should i tell u or u came to know by now?
@derry56802 жыл бұрын
Great video with good teaching style. I have watched lots of tutorials videos, non was as good as yours.
@abdulrahimjalloh363 Жыл бұрын
If no brace and you enter above 20, it will print the 'ag'e and the 'coffee with me' and the 'time to go home' if no brace and you enter below 20, it will print only 'coffee with me' and the 'time to go home'
@sudhakarreddy8836 Жыл бұрын
Ssss
@padmapranathi8426Ай бұрын
void main() { int age; printf("enter age") ; scanf("%d", &age) ; if(! age) { printf ("You can go") ; } printf("you can come to office") ; getch() ; Output: enter age 0 You can goyou can come to office
@sauravewankhad18842 ай бұрын
age 21: all the execute age 20 without brackets: last two execute age 13 with brackets: last one execute
@ramojibharothu34532 жыл бұрын
I need more program on if, is very helpful
@ManojRudrarapu8 ай бұрын
Your voice is super and excellent teaching ❤🎉
@SahilAnsari-zt4zn2 жыл бұрын
input-28 output- Enter your age:28 Your age is:28 You can go coffee with me Your age is:28 Its time to go home input-16 output- Enter your age:16 You can go coffee with me Your age is:16 Its time to go home input-14 output- Enter your age:14 You can go coffee with me Its time to go home
@revanthkumar51192 жыл бұрын
its wrong
@Hari-iz4gi2 жыл бұрын
@@revanthkumar5119 why ?
@sandman99992 жыл бұрын
input 16 there would print " your age is 16 it's time to go home" then input as 14 " It's time to go home"
@junedpathan4466 Жыл бұрын
@@sandman9999 for 14 it would be you can go coffee with me and then it's time to go home
@ArmanKhan-lr8sn2 жыл бұрын
I am little slow in English . But explanation of your mam is just awesome.
@bcadiary12013 жыл бұрын
Hlo Mam I m student of BCA from ranchi and ur classes are really helpful thanku mam u hv became my crush 💞
@sunily033 жыл бұрын
Nice mam your teaching style 2 much differ.. 👍👍
@gargs_official Жыл бұрын
if age is 28- enter age: 28 your age is 28 you can go coffee with me your age is 28 it's time to go home if age is 16- enter age: 16 you can go coffee with me your age is 16 it's time to go home if age is 14- enter age: 14 you can go coffee with me it's time to go home
@shadabhussain15292 жыл бұрын
int main{ int age; printf("enter age"); scanf("%d",&age); if(age>20) printf("age is =%d ",age); printf("you can go coffe with me"); printf("its time to go"); return 0; } output enter age 20 you can go coffe with me its time to go
@guru__prasad Жыл бұрын
printf ("NO BRO"); return0; }
@MVREducation3 жыл бұрын
Starts at 2:49
@KikkaraVamsi2 ай бұрын
Your lecture is wonderful mam , iam fan of u❤
@karishmauma11962 жыл бұрын
your an awesome teacher!!
@prakashb1945 Жыл бұрын
Good teaching mam easily understandable
@suga32022 жыл бұрын
Your lectures are so good ✨
@MechMonty3 жыл бұрын
age = 28 Your age is : 28You can go coffee with meYour age is 28Its time to go home age = 16 You can go coffee with meYour age is 16Its time to go home age = 14 You can go coffee with meIts time to go home
@maryannemuthoni5388 Жыл бұрын
For 28: Your age is 28 You can go coffee with me Your age is 28 It's time to go home For 16: There are no curly braces so with the first if it will take the second statement: You can go coffee with me For the second if: Your age is 16 It's time to go home For 14: There are no curly braces so with the first if it will take the second statement: You can go coffee with me There are no curly braces so with the second if it will take the second statement: It's time to go home
@pheliximbo4740 Жыл бұрын
It looks better if you place all the curly braces as supposed to be. At age 28, all the conditions are met and it brings conflicting responses.
@maryannemuthoni538810 ай бұрын
The question is to test whether we understood what not putting the braces does.
@asadhashmi97803 жыл бұрын
Very nice mam . I am impressed with ur conduct .
@16himanshubaliyan142 жыл бұрын
Mam, definitely age is greater than 20 now let's go coffee😍
@vitharv54683 жыл бұрын
Enter age:28 Your age is 28 You can go coffee with me Your age is 28 Its time to go home Enter age : 16 You can go coffee with me Your age is 16 Its time to go home Enter age: 14 You can go coffee with me Its time to go home
@dileepnagam3 жыл бұрын
Right bro
@manvendra911023 жыл бұрын
Mam can you please upload Graphs in data structure please make a video on this topic . thanks you so much mam best explained by you .
@mugeshkannan37763 жыл бұрын
without { } also i can able to run the program.....wowwwwwww ...
@tps84702 жыл бұрын
Nice teaching Mam Thanks a lot Mam
@uzrakhanum75962 жыл бұрын
Explain What is the control flow when there is switch case in nested if statements
@sasanksasank11673 жыл бұрын
Nice explanation teacher Love you
@ShaddieShadrack Жыл бұрын
i like the style you use in your lectures
@anushakasa20042 жыл бұрын
Thank u mam for giving great literature I can understand very easy & u looking beautiful mam
@megaitsolutions37103 жыл бұрын
Thank you soo much mam...Love from Pakistan🇵🇰🇵🇰🇵🇰❤💞❤💞
@bibinpepe3 жыл бұрын
🥰
@Super-drawing-z7r2 жыл бұрын
Input:28 Output: your age is 28 You can go coffe with me Input:16 Output:your age is 16 Go home Input : 14 No output
@Sakshiikakde Жыл бұрын
You are an awesome teacher mam😍
@sujaykadam65103 жыл бұрын
Mam thanks it's helpful for Cdac exam
@Suganthasisters Жыл бұрын
#include int main () { int age; printf("Enter age: "); scanf("%d",&age); if ( age < 25 ) { printf("Fit for army"); } printf("Not fit for army"); return 0; } this is my code .the prblm is the both inside the loop and outside the loop statements are printing
@TurnOnYourMic Жыл бұрын
#include int main () { int age; printf("Enter age: "); scanf("%d",&age); if (age
@Laxman-rx7cz6 ай бұрын
U are teaching well mam
@nowuknow85702 жыл бұрын
If the statement is true, it will print the instructions followed by the if statement AND the out of block statement also unless else is used. If the statement is false then only out of block instruction is printed.
@taenushi Жыл бұрын
19:54 IF AGE IS: 28 YOUR AGE IS: 28 YOU CAN GO COFFEE WITH ME YOUR AGE IS: 28 YOU CAN GO HOME IF AGE IS: 16 YOU CAN GO COFFEE WITH ME YOUR AGE IS: 16 YOU CAN GO HOME IF AGE IS: 14 YOU CAN GO COFFEE WITH ME YOU CAN GO HOME
@sumyiaarefinlamia97853 жыл бұрын
Mam you are looking sooo younger... I am from bangladesh.. Take love mam
@sumitmishra64593 жыл бұрын
Very well explained video ma'am
@abdulrahimjalloh363 Жыл бұрын
You are not wrong ma. The semicolon after the condition cannot stop the execution of the blocks of statements
@Israr_Ayoub3 жыл бұрын
You are the best one ❤️❤️❤️
@sivadarling2932 жыл бұрын
Thank❤ you so much 😊 mam. For explain
@tithighosh21693 жыл бұрын
Ma'am please upload videos of command line argument in c. ❤️❤️
@DipeshSPatil3 жыл бұрын
Thanks You Mam for teaching us mam, can you make videoon java and c++..
@kishormaknikar3882 жыл бұрын
Great work done
@kaifgaming14373 жыл бұрын
Tq mam...but i like my school miss....she work very hard
@SanjayKatta-u4x2 ай бұрын
Nice explanation madam thankyou so much madam
@uttej13903 жыл бұрын
Lec starts at 2:50
@yashedits3466 Жыл бұрын
Labaad😏
@yogeshvaghela5863 жыл бұрын
Great detailed video 😊😊👍👍
@mallikakadiyam7777 Жыл бұрын
Very good explanation mam
@tf_bunnye5 ай бұрын
Age = 28 Your age is 28 You can go coffee with me Your age is 28 It's time to go home Age = 16 You can go coffee with me - This will be printed because that if-block lacks the opening and closing curly braces, therefore the second line in that if-block is being treated as an after-if statement, and that's why it's being outputted Your age is 16 It's time to go home Age = 14 You can go coffee with me - This will be printed because that if-block lacks the opening and closing curly braces, therefore the second line in that if-block is being treated as an after-if statement, and that's why it's being outputted It's time to go home
@askme.everything82552 жыл бұрын
I like (love) you mam and your teching also
@umairnabil59543 жыл бұрын
Mam ko 🍊 kenno aur musaamis bht pasand
@megaitsolutions37103 жыл бұрын
Please Upload video on lecture of Defined Functions
@RishiVaish-ym1nr2 ай бұрын
Thank you so ma'am 😁🌟
@kishorekrack15183 жыл бұрын
MADAM SIR MADAM ANTHE👌NICE
@abdulrahimjalloh363 Жыл бұрын
Assignment Enter age: 28 Your age is: 28 You can go coffee with me Your age is: 28 It is time to go home ............................................................ Enter age: 16 Your age is: 16 It is time to go home .......................................................... Enter age: 14 It is time to go home
@nightyesterday2 жыл бұрын
When entered age = 25, it gives error @21:44, age=28 prints all 4 lines | age=16, prints last 2 lines | age=14, prints nothing.
@Sindhuuu99 Жыл бұрын
If age is 28 out will be You can go coffe with me It's time to go home If age is 16 then output will be It's time to go home If age is 14 and the output will be Nothing
@satyabhagavanchinta34552 жыл бұрын
Excellent mam.i love you Jenny mamm 😘
@devansh11912 жыл бұрын
Hayeee madam kyy muskann haiii 😘😘🥰🥰
@1shAggarwal3 жыл бұрын
When you scream 'and' and 'now', i hear hows the josh😆.
@vinitpandey52423 жыл бұрын
Well explained ma'am, thanks🙏
@Joycee742 жыл бұрын
I got the same out put with and without the curly brazes ma'am
@unlimitedGK-om8bs3 жыл бұрын
thanks mam.... spectacular class... just subscribd your chanel 😎😊☺️
@vinothvinoth12133 жыл бұрын
Int a=20; If(a=25); Pf("a=%d ",a); This statement inside condition is executed O/p a=25