Else if - ൽ problem ഒന്നും ഇല്ല, അത് ലാസ്റ്റ് കൊടുത്താൽ മതി, ഇപ്പൊ വെച്ചിരിക്കുന്നത് സെക്കന്റ് ലാസ്റ്റ് ആണ്. അതാണ് പ്രിന്റ് ചെയ്യുമ്പോൾ 2 um print ആയി വരുന്നത്. 36:47. എല്ലാം ക്ലാസും കാണുന്നുണ്ട്, വളരെ ഉപകാരം ആണ്
Sir thank you so much🙂I am a btech graduate who knows 0 coding. I really needed a person who could explain me what is scanf printf and the flow everything..u helped me.I coded today.. Always grateful sir.no words.
hi bro your views and ideas about coding is very amazing .It really changed my way for seeing the programs.Now its much easier to learn codes. Its been only few since i started watching your videos but its very nice.
Uff 1 day kond thenney 4 parts complete cheyyan patti super ayitt manasilavunund......membership edukkanam enn und but cash scean.....but enganelum korach months kond edukkkum nyn +2 student ann ...thanks for the tutorial
I'm studied bcom, but now I switch to coding...and part 3 completed successfuly...keep going💪💪..it's a Wonderful class I can easily understanding the way you teach.. Love you brototype❤️❤️
If three Numbers are equal: #include #include int main(void) { int n1,n2,n3; printf("Enter Three Numbers: "); scanf("%d%d%d",&n1,&n2,&n3); if(n1>n2 && n1>n3) printf("%d is the Largest number",n1); else if(n2>n3 && n2>n1) printf("%d is Largest Number",n2); else if(n3>n1 && n3>n1) printf("%d is the Largest Number",n3); else printf("Numbers are equal"); return EXIT_SUCCESS; }
#include #include int main(void) { setbuf(stdout,NULL); int n1,n2,n3; printf("Enter Three Numbers: "); scanf("%d%d%d",&n1,&n2,&n3); if(n1>n2 && n1>n3){ printf("%d is the Largest number",n1); }else if(n2>n3 && n2>n1){ printf("%d is Largest Number",n2); }else if(n3>n1 && n3>n1){ printf("%d is the Largest Number",n3); }else{ printf("Numbers are equal"); } return EXIT_SUCCESS; }
സ്വന്തമായി വെബ്സൈറ്റ് ഡെവലപ്പ് ചെയ്യാൻ ഉള്ള ആഗ്രഹവുമായി youtube ൽ അലഞ്ഞു നടക്കുകയായിരുന്നു.. ഏതൊക്കെയോ tutorials നോക്കി designing part നെ കുറിച് ദാരണ ഉണ്ടാക്കി. എന്നാൽ അത് പോരാ എന്ന് പിന്നീട് മനസ്സിലായി.. അങ്ങനെ ഇനി എന്ത് ചെയ്യണം എന്ന് google ൽ സെർച്ച് ചെയ്ത് ദിവസങ്ങൾ പോയതല്ലാതെ ഒരു ഉത്തരം കിട്ടിയില്ല. അങ്ങനെ ഇരിക്കെ ആണ് അപ്രതീക്ഷിതമായി ഈ ചാനലിലെ ഒരു വീഡിയോ കാണുന്നത് . ചുമ്മാ ഒന്ന് കണ്ട് നോക്കി.. ഉടനെ തന്നെ കൂടെ കൂടി.. And successfully completed day 3... Thanks the team cross roads❤️
Using nested if #include int main() { int n1, n2, n3; printf("Enter three numbers: "); scanf("%d %d %d", &n1, &n2, &n3); if (n1 >= n2) { if (n1 >= n3) { printf("The largest number is: %d", n1); } else { printf("The largest number is: %d ", n3); } } else { if (n2 >= n3) { printf("The largest number is: %d", n2); } else { printf("The largest number is: %d", n3); } } return 0; } Output Enter three numbers : 30 40 50 The largest number is:50
22:43 int main(void) { int num1,num2,num3; printf("enter three numbers"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2) { if(num1>num3) { printf("greatest number is %d",num1); } }else if(num2>num3) { if(num2>num1) { printf("greatest number is %d",num2); } }else { printf("greatest number is %d",num3); } return 0; }
For finding greatest among 3 numbers int num1,num2,num3; setbuf(stdout,NULL); printf("enter the numbers"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2) {if(num1>num3) {printf("greatest number is %d",num1);} else {printf("%d is greater",num3);} } else { if(num2>num3) { printf("%d is greater",num2); } else { printf("%d is greater",num3); } }
int main(void) { float mark; printf("enter your mark"); fflush(stdout); scanf("%f",&mark); if(mark>50){ printf("you have passed"); }else{ printf("you are failed"); }
sir ur clz adi polianu. njan computer sciencil intrested aya kalm thott coding oadikkuvan agrahichatha but pattille. now am very very happy. sir inte clz ellam poliyanu . even 10th passaya enk polum catchup cheyan patunund. poliyanu nikhil sir and ur team
day3 assignment 2 Write a program to show the grade obtained by a student after he/she enters their total mark percentage. int main() { float mark; printf("enter your total mark"); scanf("%f",&mark); if(mark100){ printf("plse enter a vaule not exceding total mark"); } else if (mark>=90 && mark =80 && mark =70 && mark =60 && mark =50 && mark
@36:00, if we select the Division option, its giving the result as 0 (e.g num1=4, num2=5). Also, I tried by putting datatype as float for result, and still the output was 0.00, then I tried with (float) for Division. int a,num1,num2; float result; printf("Please enter 2 numbers"); scanf("%d%d",&num1,&num2); printf("1.Multiplication 2.Addition 3.Subtraction 4.Division Please select any"); scanf("%d",&a); if(a==1){ result=num1*num2; printf("Answer is %f",result); } else if(a==2){ result=num1+num2; printf("Answer is %f",result); } else if(a==3){ result=num1-num2; printf("Answer is %f",result); } else if(a==4){ result=(float)num1/(float)num2; printf("Answer is %f",result); } else printf("You have entered a wrong option");
Good. join join our new learning club if you have any doubts on the tutorials, you can clear your doubts on that telegram channel. join now: tiny.cc/learningclubJuly2022
Ith ente first comment alla🙂......... 75+ vedio kanditt...... Ellathinum koodi ulla oru abipraayam aaahn😘🥺 Njaan ipoo government poly technik collegilaaan padikknne... ❤️c program padippikkund.... But avide padippikkunneeeneeekkaaal 10000000000000 iratti manasilaaaknnth sirinte cheriya vedio kalil ninnaaan🥰😘😘😘🥰😘🥰😘🥰😘🥰😘egane nanni parayanam ariyilla🙂🙂🙂🙂🥺oru dhivasam kand samsaarikkanam enn und🥺❤️😻love you sir🥺❤️😘
assignment 2 #include int main() { float marks; printf("Enter the Total mark percentage"); scanf("%f",&marks); if(marks>=90&&marks=80&&marks=70&&marks=60&&marks=50&&marks
to find greater among 3 numbers int a,b,c; printf("Enter 3 numbers"); scanf("%d%d%d",&a,&b,&c); if(a>b && a>c) printf("%d is greater",a); else if(b>a && b>c) printf("%d is greater",b); else printf("%d is greater",c);
if(num1>num2&&num1>num3) { printf("%d is the largest number",num1); } else if(num2>num1&&num2>num3) { printf("%d is the largest number",num2); } else { printf("%d is the largest number",num3); } }
No da ath user ndedthn value medichit store cheyyumbazhan scanf okke use cheyyendathayi varunullu :) For eg: *printf(“enter your number “);* *scanf(“%d”, num1);* printf ulla sthalangalil scanf ezhuthandu angane orth vecho😃 _User kodutha rand values, ath num1,num2 enna variables lek store cheyuvan_ 🫴🏻 *scanf(“%d%d”,&num1,&num2)* So with this,namalk user ndedth ninn kitanda rand values kity kazhinu eni scanf use cheyanda avishyamila…👍🏻 Now we use another variable *result* to store the sum of *num1+num2* Ath directly avide store aykolum!
A യെക്കാൾ വലുതാണോ B എന്ന് ആദ്യം നോക്കുന്നു ... if(a>b){ അങ്ങനെ ആണെങ്കിൽ A യെ C യുമായി താരതമ്യം ചെയ്യുന്നു.. A ആണോ C യെക്കാൾ വലുത് ... if(a>c){ ആണെങ്കിൽ വലിയ സംഖ്യ A ആണെന്ന് കണ്ടെത്തി.. } else{ അല്ലെങ്കിൽ C ആണ് വലിയ സംഖ് } } A യെക്കാൾ വലുതല്ല B എങ്കിൽ B യെ C യുമായി താരതമ്യം ചെയ്യുന്നു .. else if(b>c){ B ആണ് വലുതെങ്കിൽ വലിയ സംഖ്യ B.. } else{ അല്ലെങ്കിൽ വലിയ സംഖ്യ C }
ee videose okke oru 3 years munp enikk kaanaan oravasram undaayyirunnenkil njan enno c yum C++ Um pass aakumaayirunnu... verde kure supply ezhuthy,,, ithrayum nalla oru video njna ithvare kandittilla..... all the very best for you upcoming videos,,, i hope your channel will be a big success.... god bless you team crossroads....
Great..am starting to get a hang of this. Thanks a lot bro.. Had learnt all these stuffs in my 12th std but never used it after getting out of the school. Looking forward to learn more. I have also completed the assignments. Posting codes for 2nd question from the assignment below: float mark; setbuf(stdout,NULL); printf("Enter your total marks percentage:"); scanf("%f", &mark); if(mark>=90 && mark=80 && mark=70 && mark=60 && mark=50 && mark
@@arunjohny namal if ill thene rand condition check cheyumpol anu namal && kodukune 100ene kaal kuravano atho 90 ene kaal mukalil ano enn check cheyumpo rand condition varum.aneram anu 2 && use cheyune
Thanks Bro . Finally I'm able to code myself. I'm completed assignments without anyone's help & it's running without any issues 😊 . I'm studied 2 years computer science ( +1 & +2 ). But i can't code myself . Even though I already know all c++ concepts of +1 & +2 , All I'm done is just by-hearting Logic of without proper understanding 😅 .
Assignment 3 #include int main (void) { int choice; printf("1 for Sunday /n2 for monday /n3 for Tuesday /n4 for Wednesday /n5 for Thursday /n6 for friday /7 for Saturday / for ples ender youe choice"); scanf("%d",&choice); switch (choice) { case 1: printf("you have select Sunday"); break; case 2: printf("you have select Monday"); break; case 3: printf("you have select Tuesday"); break; case 4: printf("you have select Wednsday"); break; case 5: printf("you have select Thursday"); break; case 6: printf("you have select Friday"); break; case 7: printf("you have select Satueday"); break; default: printf("Invalid entey"); } return 0; }
hi sir i started learning coding and fall love towards coding i am a bca student i dont understand c , java from the classroom's now it is easy for me thanks brototype for this oppertunity
currently oru learning club nadakkunnund, telegram group vazhi free ayi 24/7 tech support athil provide cheyyunnund, you can clear all the doubts regarding basic coding there. join cheyyan ee linkil click cheyyu: bit.ly/3JNt5KG
23:21 #include int main() { int num1,num2,num3; printf("Enter three numbers : "); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2) { if(num1>num3) printf("The entered number %d is greater",num1); else { printf("Entered number %d is greater",num3); } } else { printf("The entered number %d is greater",num2); } return 0; }
I'm studied BCom, and switched to mca...and part 3 moving successful ...keep going💪💪..it's a Wonderful class I can easily understanding the way you teach.. Love you BRO❤❤
#include #include int main(void){ int a,b,c; printf("enter 3 number"); scanf("%d%d%d",&a,&b,&c); if(a>b&&a>c){ printf("a is larger"); }else if(b>a&&b>c){ printf("b is larger"); }else{ printf("c is larger"); } return 0; } i know the reward is gone , but its only for my satisfaction 🤗
#include #include Int main (void){ Int a,b,c; Printf(“enter 3 numbers “); Scanf(“%d %d%d”,&a,&b,&c); If(a>b){ If(a>c) Printf(“greatest number is %d”,a); Else Printf(“greatest number is %d” b); } Else if(b>c) { Printf(“greatest number is %d”,b); } Else { Printf(“greatest number is %d”,c); } return EXIT_SUCCESS; }
Warning...! Anyone coding with Windows 8.1 Anyone coding with Windows 8.1 Anyone coding with Windows 8.1 Anyone coding with Windows 8.1 Need help... Need help...
out put- 23 34 4 1 for Addition 2 for subtraction 3 for multiplication 4 for divisionfool enik prinf statment correct work avanilla last ellam koodi norumich print aavan ndha problem int main(void) { int num1,num2,choice,result; scanf("%d%d",&num1,&num2); printf("1 for Addition 2 for subtraction 3 for multiplication 4 for division"); scanf("%d",&choice); if(choice==1){ result=num1+num2; printf("result=%d",result); }else if(choice==2){ result=num1-num2; printf("result=%d",result); }else if(choice==3){ result=num1*num2; printf("result=%d",result); }else if(choice==3){ result=num1/num2; }else printf("fool"); return EXIT_SUCCESS; }
#include #include int main(void) { int number1,number2,number3; printf("Enter the first number"); fflush(stdout); scanf("%d",&number1); printf("Enter the second number"); fflush(stdout); scanf("%d",&number2); printf("enter the third number"); fflush(stdout); scanf("%d",&number3); if(number1>number2) { if(number1>number3) { printf("Grater number is %d",number1); } else { printf("Grater number is %d",number3); } } else //we can also give -- else if (number2>number3) -- { if(number2>number3) { printf("Grater number is %d",number2); } else { printf("Grater number is %d",number3); } } return EXIT_SUCCESS; }
int a,b,c; setbuf(stdout,NULL); printf("enter 3 numbers\t"); scanf("%d%d%d",&a,&b,&c); if((a>b)&&(a>c)){ printf("%d is highest",a); } else if (b>c){ printf("%d is highest",b); } else{ printf("%d is highest",c); }
Sir Full going well But one problem; When I run the programm the console is not coming like yours There is blank When I enter a number and Click enter button That coming like this 45 Enter a number You have entered 45 Please give solution for the problem Please sir
I know it is bit late to comment on, but I am just getting started and enjoying the process. Thanks Mr. Kilivayil! /* Write a program to check whether a student has passed or failed in a subject after he or she enters their mark (pass mark for a subject is 50 out of 100). Program should accept an input from the user and output a message as “Passed” or “Failed” */ #include #include int main(void) { float marks; printf("How much marks did you score?: "); scanf("%f", &marks); if (marks >= 50){ printf("Passed"); } else{ printf("Failed"); } return EXIT_SUCCESS; }
int main() { int x; printf("1 for Sunday 2 for Monday 3 for Tuesday 4 for Wednesday 5 for Thursday 6 for Friday 7 for Saturday Enter your choice :"); scanf("%d",&x); switch(x){ case 1: printf("Sunday"); break; case 2: printf("Monday"); break; case 3: printf("Tuesday"); break; case 4: printf("Wednesday"); break; case 5: printf("Thursday"); break; case 6: printf("Friday"); break; case 7: printf("Saturday"); break; default: printf("Invalid Entry");} return 0; }
Aaha …adipoli.. Next enthaanu cheyyandee ariyanaayi ee whatsapp linkil message cheyyu.. wa.me/message/3JYMEE2RWUWUH1 Or call to this number - 7034395811
Assignment 2 #include int main() { float mark; char grade; printf("Enter your mark percentage: "); scanf("%f", &mark); if (mark >= 90) { grade = 'A'; } else if (mark >= 80 && mark = 70 && mark = 60 && mark = 50 && mark
Assignment1:#include int main() { float mark; printf("Enter the mark of the student:"); scanf("%f",&mark); if(mark>50){ printf("Congrats Passed the Exam"); } else{ printf("Sorry! Failed"); } return 0; } Assignment2:
There are some mistakes in this code like, if user enter 100, 90, 89, 80 etc. Nothing will print in console. To correct that, please change values and add necessary comparison operators.
best TH-cam channel ever in malyalayam I have seen
Yes
❤
Basis of coding.
Run cheyth REady aavumbo ndavunna feel ndallo .............
uff🤩🤩
poli 🔥
This is what training means !!!!Really appreciate your time and effort to build such a project for freeeeeeeeeeeeeeeee
If(a>b && a>c) return a.
else if(b>c) return b.
else return c.
Ith seri annoo
@@ShaheemMuhammadithum sariyanu.but nested if use cheyyanalle paranje
It's very good to see u.... after 10 year i looking to programming (after plus two computer science ). Very interesting and easy now... thankyou😘
Bro job kittiyo
നിങ്ങളുടെ ഈ superb ചാനലിനെ കുറിച്ച് നേരത്തെ ഞങ്ങൾ അറിയാത്തതിനുള്ള ഒരേ ഒരു ഉത്തരവാദി നിങ്ങൽ ആണ് Mr Nikhil ❤️ its quite accidental I reached here 🙏
😅😅😅
Oroninum adintedaya samayamund daaasaaaa
Athe😀😀😀
എല്ലാത്തിനും അതിന്റെതായ സമയണ്ട് ദാസാ...
Same 😭🤌🏻❤️
Kanan late aayi poyathil khedikkunnu...
Superb class
Nmmalekondum ithoke pattum ennoru confidence kitti.😍
Thankyou sir
SUCEESFULLY COMPLETED THIS SESSION AND ASSIGNMENTS!!! FEELING GREATFUL!!!! THANKYU NIKHIL SIR..
@Sharon Noronha for me too
i couldnt do the assignment lastday. when i run, its wrong. would you pls help me?
Mine also
Enter your name enju chothikumbolnname adixhukodukkum pakshe naminte first letter mathram athil kanikukayullu
@@BOLT17...%s kodukannam mr
Introduction animation was great
I also loved it🤩🤩
Else if - ൽ problem ഒന്നും ഇല്ല, അത് ലാസ്റ്റ് കൊടുത്താൽ മതി, ഇപ്പൊ വെച്ചിരിക്കുന്നത് സെക്കന്റ് ലാസ്റ്റ് ആണ്. അതാണ് പ്രിന്റ് ചെയ്യുമ്പോൾ 2 um print ആയി വരുന്നത്. 36:47. എല്ലാം ക്ലാസും കാണുന്നുണ്ട്, വളരെ ഉപകാരം ആണ്
Printf("Thangu Nikiletta" );
Chetta ente peru Josin, njan 9thla padikkane ,enikku if else statementil oru doubt undu .Chettante WhatsApp number onnu tharamo
Chetta reply ayakkan marakkaletto
@@studentking4809 Enthu video??
ee program error aan mwone .. ⚠ compilation error !!!
23:25
If(num1>num2&&num1>num3) {
Printf("%d is greater", num1)
Athpole elseif num2 greater aan codeythnm
Ent printfl num2 greatern parenam
Ent else kodthtt printfl num3 aan greatern kodkanam
Nb:(int num1, num2, num3;
Ingne kodkanam)
Powli!!...🤩🤩
Worthful class,understandable..🙂
May God bless u
Sir thank you so much🙂I am a btech graduate who knows 0 coding.
I really needed a person who could explain me what is scanf printf and the flow everything..u helped me.I coded today.. Always grateful sir.no words.
its our pleasure helping you guys ♥️
Sir, actually I have completed b.tech. truly , I wasn't knowing coding .... Nw have getting some ideas.... Ithrayum clear aayittu aarum coding padippichittilla...so njanum ith tough ennu karuthi maatti vechu.
Very interesting class..... Thank you..
you’re welcome man ❤️
Btech sir padipichirunengil njn evdeyo ethiyitundaagumaayrnu ipol🥲
Excellent 💯
Sir I completed the part three this helped me to change my attitude towards coding thank you 👌👌👌👌 excellent work♥
Its our pleasure!
Now you can look forward to other challenges from Crossroads
Ippo enthu cheyunno bro
Njan 9th STD studentaanu enikkum ith നല്ലത് പോലെ manasilaakunu🔥 Thank you sir 💖
💖💖
Hi!
I was a person who doesn't like coding at all..
Completed part2 and its really intersting!!
Do you cover assignment answers in this session??
It can't get anymore simple than this. Thank you soo much howtobasic!
❤
hi bro your views and ideas about coding is very amazing .It really changed my way for seeing the programs.Now its much easier to learn codes. Its been only few since i started watching your videos but its very nice.
Thank you so much man ❤️
All the very best and keep going
Uff 1 day kond thenney 4 parts complete cheyyan patti super ayitt manasilavunund......membership edukkanam enn und but cash scean.....but enganelum korach months kond edukkkum nyn +2 student ann ...thanks for the tutorial
Heyy what’s your current situation job , career
what s ur current status bro
I'm studied bcom, but now I switch to coding...and part 3 completed successfuly...keep going💪💪..it's a
Wonderful class I can easily understanding the way you teach..
Love you brototype❤️❤️
B.COM too
njanum b.com
Thirtha😂
mee to
Njan bca
23:23 രണ്ട് നമ്പറില് വലുത് ഏതന്ന് അറിഞ്ഞാല് ഒരു printf(".........);
Scan.....
If (num1
wonderful way of teaching...so much inspired
thank u sir
If three Numbers are equal:
#include
#include
int main(void) {
int n1,n2,n3;
printf("Enter Three Numbers: ");
scanf("%d%d%d",&n1,&n2,&n3);
if(n1>n2 && n1>n3)
printf("%d is the Largest number",n1);
else
if(n2>n3 && n2>n1)
printf("%d is Largest Number",n2);
else
if(n3>n1 && n3>n1)
printf("%d is the Largest Number",n3);
else
printf("Numbers are equal");
return EXIT_SUCCESS;
}
#include
#include
int main(void) {
setbuf(stdout,NULL);
int n1,n2,n3;
printf("Enter Three Numbers: ");
scanf("%d%d%d",&n1,&n2,&n3);
if(n1>n2 && n1>n3){
printf("%d is the Largest number",n1);
}else
if(n2>n3 && n2>n1){
printf("%d is Largest Number",n2);
}else
if(n3>n1 && n3>n1){
printf("%d is the Largest Number",n3);
}else{
printf("Numbers are equal");
}
return EXIT_SUCCESS;
}
&& ഇത് രണ്ടെണ്ണം എന്തുവാ ഉദ്ദേശിക്കുന്നെ ഇവിടെ?
@@shihabshihab9795AND operation
Successfully completed this section with assignments
Great, keep going 💪🏼
Late aaytanelm enikkm eth kanan patti.. thank god.. it’s really helpfull
Assigment
int mark;
printf("enter your mark");
scanf("%d",&mark);
if(mark100){
printf("your enter wrong value");
}else if(mark>=50){
printf("your passed");
int mark;
printf("enter your mark");
scanf("%d" ,&mark);
if(mark>50){
printf("you have passed of exam")
else {
printf("you have failed of exam");
സ്വന്തമായി വെബ്സൈറ്റ് ഡെവലപ്പ് ചെയ്യാൻ ഉള്ള ആഗ്രഹവുമായി youtube ൽ അലഞ്ഞു നടക്കുകയായിരുന്നു.. ഏതൊക്കെയോ tutorials നോക്കി designing part നെ കുറിച് ദാരണ ഉണ്ടാക്കി. എന്നാൽ അത് പോരാ എന്ന് പിന്നീട് മനസ്സിലായി.. അങ്ങനെ ഇനി എന്ത് ചെയ്യണം എന്ന് google ൽ സെർച്ച് ചെയ്ത് ദിവസങ്ങൾ പോയതല്ലാതെ ഒരു ഉത്തരം കിട്ടിയില്ല. അങ്ങനെ ഇരിക്കെ ആണ് അപ്രതീക്ഷിതമായി ഈ ചാനലിലെ ഒരു വീഡിയോ കാണുന്നത് . ചുമ്മാ ഒന്ന് കണ്ട് നോക്കി.. ഉടനെ തന്നെ കൂടെ കൂടി.. And successfully completed day 3... Thanks the team cross roads❤️
Wow 😍
All the best bro, keep going 💪🏼
Using nested if
#include
int main() {
int n1, n2, n3;
printf("Enter three numbers: ");
scanf("%d %d %d", &n1, &n2, &n3);
if (n1 >= n2)
{
if (n1 >= n3)
{
printf("The largest number is: %d", n1);
} else {
printf("The largest number is: %d
", n3);
}
} else {
if (n2 >= n3) {
printf("The largest number is: %d", n2);
} else {
printf("The largest number is: %d", n3);
}
}
return 0;
}
Output
Enter three numbers :
30
40
50
The largest number is:50
Nested if mansil avnilla
@@edwinmathew8477ഒരു if else statement ഉള്ളിൽ മറ്റൊരു if else statement എഴുതുന്നു.
Successfully completed Day3 with assignments.. Thanku sir
Good
Hey now what was your stage
22:43
int main(void) {
int num1,num2,num3;
printf("enter three numbers");
scanf("%d%d%d",&num1,&num2,&num3);
if(num1>num2) {
if(num1>num3) {
printf("greatest number is %d",num1);
}
}else if(num2>num3) {
if(num2>num1) {
printf("greatest number is %d",num2);
}
}else {
printf("greatest number is %d",num3);
}
return 0;
}
Ente mone🔥🔥🔥
Plus 2 cs classil 2 varsham irunnit manasilavathath ippol manasillayu
3 number l biggest kaanaan “if else if lader” use cheyth kaaanaam 23:30
For finding greatest among 3 numbers
int num1,num2,num3;
setbuf(stdout,NULL);
printf("enter the numbers");
scanf("%d%d%d",&num1,&num2,&num3);
if(num1>num2)
{if(num1>num3)
{printf("greatest number is %d",num1);}
else
{printf("%d is greater",num3);}
}
else
{
if(num2>num3)
{ printf("%d is greater",num2);
}
else
{
printf("%d is greater",num3);
}
}
well i got confused at first,anyway this was nice.
assignment 1
int main()
{
float mark;
printf("enter your mark");
scanf("%f",&mark);
if(mark>=50){
printf("passed");
}
else{
printf("failed");
}
return 0;
}
successfully completed (lowsest number finding in 3 NO.) ;
#include
#include
int main(void) {
int a,b,c;
printf("enter 3 numbers");
scanf("%d%d%d",&a,&b,&c);
if(a
& aano && aano use akuka???
@@muneebgrace &
Very nice presentation Sir and useful class also easy to understand Thank you so much ♥️
Successfully put forward my second step on coding. Thank you so much😊🙏
You are welcome ❤️
Njn ii videos edit cheyyunna dilshadinde valya fan aaane.. I like it so much😍😍😍
thanks
int main(void) {
float mark;
printf("enter your mark");
fflush(stdout);
scanf("%f",&mark);
if(mark>50){
printf("you have passed");
}else{
printf("you are failed");
}
Bro, appol Mark 150 kodthalum pass kanikkille.. Total mark 100 il aanu.. This prgm is not correct!!
Appol athinu entha cheyyendathu
@@thomaspsunny1980 else if use cheytha mathy
Ingne cheyth nokk..
int main() {
float mark;
Printf("enter your mark :") ;
scanf("%d", &mark) ;
if(mark>100){
printf("invalid mark") ;
}else if(mark>=50){
printf("passed");
} else if(mark
@@ashikhp1675 %f
sir ur clz adi polianu. njan computer sciencil intrested aya kalm thott coding oadikkuvan agrahichatha but pattille. now am very very happy. sir inte clz ellam poliyanu . even 10th passaya enk polum catchup cheyan patunund. poliyanu nikhil sir and ur team
thanks man ♥️
day3
assignment 2
Write a program to show the grade obtained by a student after he/she enters their total mark percentage.
int main() {
float mark;
printf("enter your total mark");
scanf("%f",&mark);
if(mark100){
printf("plse enter a vaule not exceding total mark");
}
else if (mark>=90 && mark =80 && mark =70 && mark =60 && mark =50 && mark
int main(void) {
float mark;
printf("Enter your mark");
scanf("%f",&mark);
if(mark>=90&& mark=80 && mark=70 && mark=60 && mark=50 && mark=0 && mark
Thank you very much for commenting this answer bro. I was very confued
@@YasMohammed-v6h bro ee && kodukkano nammal code aakumboo
@@YasMohammed-v6h thankks bro this helped me
@36:00, if we select the Division option, its giving the result as 0 (e.g num1=4, num2=5). Also, I tried by putting datatype as float for result, and still the output was 0.00, then I tried with (float) for Division.
int a,num1,num2;
float result;
printf("Please enter 2 numbers");
scanf("%d%d",&num1,&num2);
printf("1.Multiplication
2.Addition
3.Subtraction
4.Division
Please select any");
scanf("%d",&a);
if(a==1){
result=num1*num2;
printf("Answer is %f",result);
}
else if(a==2){
result=num1+num2;
printf("Answer is %f",result);
}
else if(a==3){
result=num1-num2;
printf("Answer is %f",result);
}
else if(a==4){
result=(float)num1/(float)num2;
printf("Answer is %f",result);
}
else
printf("You have entered a wrong option");
Nice class..... 😍
Completed part 3 ❤
Good. join join our new learning club if you have any doubts on the tutorials, you can clear your doubts on that telegram channel. join now: tiny.cc/learningclubJuly2022
Already joined 😊😊❤
Ith ente first comment alla🙂......... 75+ vedio kanditt...... Ellathinum koodi ulla oru abipraayam aaahn😘🥺
Njaan ipoo government poly technik collegilaaan padikknne... ❤️c program padippikkund.... But avide padippikkunneeeneeekkaaal 10000000000000 iratti manasilaaaknnth sirinte cheriya vedio kalil ninnaaan🥰😘😘😘🥰😘🥰😘🥰😘🥰😘egane nanni parayanam ariyilla🙂🙂🙂🙂🥺oru dhivasam kand samsaarikkanam enn und🥺❤️😻love you sir🥺❤️😘
💖💖27th nu Calicut hub il vach meetup und, nerit vannolu, kanalo. watch this video to know more details :th-cam.com/video/6OosaoTYO0o/w-d-xo.html
Enik adyam sheri ayrnulaa...printf console varundayrnila after i seekd help from spprtive team sharath bro...he help me a lot...♥️
Bro engana fix cheythath
anonymous 1269 ath enganaya ready akugha?
printf is not displaying for me too
Setbuf(stdout,NULL); print f ntay adiyil e comment koduth nokoo
Bro plz help yenikkum work avunilla
Sir oro project open cheyyumbozhum orupadu error varunnund, athellam marikadanne ithu vare sir paranjathupolethane vannu, beautiful video👍
assignment 2
#include
int main()
{ float marks;
printf("Enter the Total mark percentage");
scanf("%f",&marks);
if(marks>=90&&marks=80&&marks=70&&marks=60&&marks=50&&marks
an MBA graduate to The world of CODING.....Loved it
Great 😍
Tnq sir for the wonderful oppertunity to learn what i really wanted do 🖤
to find greater among 3 numbers
int a,b,c;
printf("Enter 3 numbers");
scanf("%d%d%d",&a,&b,&c);
if(a>b && a>c)
printf("%d is greater",a);
else if(b>a && b>c)
printf("%d is greater",b);
else
printf("%d is greater",c);
Right one thanks bro
Thank you
Ithil appo first if l printf a greater kazhnj else aavshyalla?
if(num1>num2)
great=num1;
else great=num2;
if(great
if(num1>num2&&num1>num3)
{ printf("%d is the largest number",num1);
}
else if(num2>num1&&num2>num3)
{
printf("%d is the largest number",num2);
}
else {
printf("%d is the largest number",num3);
}
}
Me completed all programs in video and assignments upto part 3...😊
keep going
Sir .ningal vere level 💥❣️
33:37 sir ee line kzhnjit scanf("%d",&result); ennu ezhuthandee..ennal alle ath result enna variable il store avuluu..?
Join our Telegram group, our team will help you. Join here:brototype.com
No da ath user ndedthn value medichit store cheyyumbazhan scanf okke use cheyyendathayi varunullu :)
For eg: *printf(“enter your number “);*
*scanf(“%d”, num1);*
printf ulla sthalangalil scanf ezhuthandu angane orth vecho😃
_User kodutha rand values, ath num1,num2 enna variables lek store cheyuvan_ 🫴🏻 *scanf(“%d%d”,&num1,&num2)*
So with this,namalk user ndedth ninn kitanda rand values kity kazhinu eni scanf use cheyanda avishyamila…👍🏻
Now we use another variable *result* to store the sum of *num1+num2* Ath directly avide store aykolum!
@@shinchanandshinchan5087 Thank you so much..ippo clear ayi🥰👍
A യെക്കാൾ വലുതാണോ B എന്ന് ആദ്യം നോക്കുന്നു ...
if(a>b){
അങ്ങനെ ആണെങ്കിൽ A യെ C യുമായി താരതമ്യം ചെയ്യുന്നു..
A ആണോ C യെക്കാൾ വലുത് ...
if(a>c){
ആണെങ്കിൽ വലിയ സംഖ്യ A ആണെന്ന് കണ്ടെത്തി..
}
else{
അല്ലെങ്കിൽ C ആണ് വലിയ സംഖ്
}
}
A യെക്കാൾ വലുതല്ല B എങ്കിൽ B യെ C യുമായി താരതമ്യം ചെയ്യുന്നു ..
else if(b>c){
B ആണ് വലുതെങ്കിൽ വലിയ സംഖ്യ B..
}
else{
അല്ലെങ്കിൽ വലിയ സംഖ്യ C
}
Commentsil ningalaude text enikk kooduthalayaayi manassilaayi
enthonnedei
ഞാനും ഈ രീതിയിൽ ആണ് ചെയ്തത് പക്ഷെ എനിക്ക് 6 errors കാണിക്കുന്നു
ee videose okke oru 3 years munp enikk kaanaan oravasram undaayyirunnenkil njan enno c yum C++ Um pass aakumaayirunnu... verde kure supply ezhuthy,,, ithrayum nalla oru video njna ithvare kandittilla..... all the very best for you upcoming videos,,, i hope your channel will be a big success.... god bless you team crossroads....
God bless cheyyunath avide nilkatte, ni athra perku ithu share cheithu koduthu ennu para adhyam 😅
Part 3completed.. nice classs...👍
Njanum😁
08:09 crossroads ❤
Brototype 🤗
Great..am starting to get a hang of this. Thanks a lot bro..
Had learnt all these stuffs in my 12th std but never used it after getting out of the school. Looking forward to learn more. I have also completed the assignments.
Posting codes for 2nd question from the assignment below:
float mark;
setbuf(stdout,NULL);
printf("Enter your total marks percentage:");
scanf("%f", &mark);
if(mark>=90 && mark=80 && mark=70 && mark=60 && mark=50 && mark
bro && evide oke use chayaam?
enganeya 2 && ith varukka ath onnu paranu tharummo
How you solve it bro
@@arunjohny namal if ill thene rand condition check cheyumpol anu namal && kodukune 100ene kaal kuravano atho 90 ene kaal mukalil ano enn check cheyumpo rand condition varum.aneram anu 2 && use cheyune
Ithrem easy aayirnno ithokke😊super sir👌
#include
#include
int main(void) {
setbuf(stdout,NULL);
float mark;
printf("Enter your mark");
scanf("%f",&mark);
if(mark>50)
{
printf("You have passed");
}
else
{
printf("You have failed");
}
return EXIT_SUCCESS;
}
what if user entered 10000🙂
appayum passed enn kanikum so idh thetaan
@@mohammedminhaj250 yes true 🤔 hmm
@@cnthjcb9108 bro ippo enth cheyunnu?
int main(void){
float mark;
setbuf(stdout,NULL);
printf("enter your marks");
scanf("%f",&mark);
if(mark
36:04 naan inghane anu try cheythathu
int num1,num2,choice,result;
printf("Please enter two Numbers
");
scanf("%d%d",&num1,&num2);
printf("1 for Addition
2 for Subtraction
3 for Multiplication
4 for Division
");
scanf("%d",&choice);
if(choice==1)
{
printf("Result=%d",result=num1+num2);
}
else if(choice==2)
{
printf("Result=%d",result=num1-num2);
}
else if(choice==3)
{
printf("Result=%d",result=num1*num2);
}
else if(choice==4)
{
printf("Result=%d",result=num1/num2);
}
else
{
printf("Invalid Number Please Try Again");
}
assignment evida submit cheyende , or just for practice ?
Thanks Bro . Finally I'm able to code myself. I'm completed assignments without anyone's help & it's running without any issues 😊 . I'm studied 2 years computer science ( +1 & +2 ). But i can't code myself . Even though I already know all c++ concepts of +1 & +2 , All I'm done is just by-hearting Logic of without proper understanding 😅 .
💪🏻
Assignment 3
#include
int main (void) {
int choice;
printf("1 for Sunday /n2 for monday /n3 for Tuesday /n4 for Wednesday /n5 for Thursday /n6 for friday /7 for Saturday / for ples ender youe choice");
scanf("%d",&choice);
switch (choice) {
case 1:
printf("you have select Sunday");
break;
case 2:
printf("you have select Monday");
break;
case 3:
printf("you have select Tuesday");
break;
case 4:
printf("you have select Wednsday");
break;
case 5:
printf("you have select Thursday");
break;
case 6:
printf("you have select Friday");
break;
case 7:
printf("you have select Satueday");
break;
default:
printf("Invalid entey");
}
return 0;
}
Sir Assignment succesfully complited💞
Wow, good job 👏👏👏
hi sir
i started learning coding and fall love towards coding
i am a bca student i dont understand c , java from the classroom's
now it is easy for me
thanks brototype for this oppertunity
currently oru learning club nadakkunnund, telegram group vazhi free ayi 24/7 tech support athil provide cheyyunnund, you can clear all the doubts regarding basic coding there. join cheyyan ee linkil click cheyyu: bit.ly/3JNt5KG
Part 2 completed succesfully with assignment, Thank you...
Well done
bro 2nd aasignment question angot manassilavuila
23:21
#include
int main()
{
int num1,num2,num3;
printf("Enter three numbers : ");
scanf("%d%d%d",&num1,&num2,&num3);
if(num1>num2)
{
if(num1>num3)
printf("The entered number %d is greater",num1);
else
{
printf("Entered number %d is greater",num3);
}
}
else
{
printf("The entered number %d is greater",num2);
}
return 0;
}
I'm studied BCom, and switched to mca...and part 3 moving successful ...keep going💪💪..it's a
Wonderful class I can easily understanding the way you teach..
Love you BRO❤❤
#include
#include
int main(void){
int a,b,c;
printf("enter 3 number");
scanf("%d%d%d",&a,&b,&c);
if(a>b&&a>c){
printf("a is larger");
}else if(b>a&&b>c){
printf("b is larger");
}else{
printf("c is larger");
}
return 0;
}
i know the reward is gone , but its only for my satisfaction 🤗
Btw there is mistake in printf 😌
@@keerthikrishna_ ew :/🤓
Bro 4 number enter cheyyan paranjal eganeya
Nested if alle use cheyyendedh
#include
#include
Int main (void){
Int a,b,c;
Printf(“enter 3 numbers “);
Scanf(“%d %d%d”,&a,&b,&c);
If(a>b){
If(a>c)
Printf(“greatest number is %d”,a);
Else
Printf(“greatest number is %d” b);
}
Else if(b>c)
{
Printf(“greatest number is %d”,b);
}
Else
{
Printf(“greatest number is %d”,c);
}
return EXIT_SUCCESS;
}
Successfully completed with assignments!!
Wow, great job 👌
I did complete the entire process, thank you crossroads.
good job 👏🏼
ഇപ്പൊ job ആയോ
Loved the intro and pleasant face
no words to explain my happiness sir. thankyou so much.
Warning...!
Anyone coding with Windows 8.1
Anyone coding with Windows 8.1
Anyone coding with Windows 8.1
Anyone coding with Windows 8.1
Need help... Need help...
@@sadhikalims431 8.1
out put-
23
34
4
1 for Addition
2 for subtraction
3 for multiplication
4 for divisionfool
enik prinf statment correct work avanilla
last ellam koodi norumich print aavan
ndha problem
int main(void) {
int num1,num2,choice,result;
scanf("%d%d",&num1,&num2);
printf("1 for Addition
2 for subtraction
3 for multiplication
4 for division");
scanf("%d",&choice);
if(choice==1){
result=num1+num2;
printf("result=%d",result);
}else if(choice==2){
result=num1-num2;
printf("result=%d",result);
}else if(choice==3){
result=num1*num2;
printf("result=%d",result);
}else if(choice==3){
result=num1/num2;
}else
printf("fool");
return EXIT_SUCCESS;
}
thudakkathil stdbuff(stdout,NULL); kodukku
Part 3 & assignment completed...
Third Video Completed ✅
I also completed it on June 26
#include
#include
int main(void) {
int number1,number2,number3;
printf("Enter the first number");
fflush(stdout);
scanf("%d",&number1);
printf("Enter the second number");
fflush(stdout);
scanf("%d",&number2);
printf("enter the third number");
fflush(stdout);
scanf("%d",&number3);
if(number1>number2)
{
if(number1>number3)
{
printf("Grater number is %d",number1);
}
else
{
printf("Grater number is %d",number3);
}
}
else //we can also give -- else if (number2>number3) --
{
if(number2>number3)
{
printf("Grater number is %d",number2);
}
else
{
printf("Grater number is %d",number3);
}
}
return EXIT_SUCCESS;
}
#include
int main(){
int n1,n2,n3;
printf ("enter 3 numbers:");
scanf("%d%d%d",&n1,&n2,&n3);
if (n1>n2)
{
if (n1>n3)
{
printf("%d is greater",n1);
}
}else if (n2>n1 && n2>n3){
printf("%d is greate",n2);
}
else{
printf("%d is great",n3);
}
return 0;
}
int a,b,c;
setbuf(stdout,NULL);
printf("enter 3 numbers\t");
scanf("%d%d%d",&a,&b,&c);
if((a>b)&&(a>c)){
printf("%d is highest",a);
}
else if (b>c){
printf("%d is highest",b);
}
else{
printf("%d is highest",c);
}
Oh
Why are u using "fflush(stdout)"?
We can simply write
printf("enter 3 numbers");
Snanf("%d%d%d",&number1,&number2,&number3);
Right?
superb explanation sir 💥🙏🏻🙏🏻🙏🏻
Keep watching
Sir
Full going well
But one problem;
When I run the programm the console is not coming like yours
There is blank
When I enter a number and
Click enter button
That coming like this
45
Enter a number
You have entered 45
Please give solution for the problem
Please sir
@@navaneethvanugopal20 I find not answer
@@navaneethvanugopal20 please add this to code
Eg:
Int number1, number2;
Setbuf(stdout,NULL );
IT WILL COME CORRECT NOW
THE NULL NEED BIG LETTER
I too have the same problem ..what to do sirr
@@navaneethvanugopal20 I am 😊
Me too
23:22
#include
#include
int main(void) {
int a,b,c;
setbuf(stdout,NULL);
printf("ENTER A NUMBER");
scanf("%d%d%d",&a,&b,&c);
if(a
It's wrong bro check it out once more
@@ΗΞΣΤΘ007 thanks and I will
How far will you go for lub
I know it is bit late to comment on, but I am just getting started and enjoying the process. Thanks Mr. Kilivayil!
/*
Write a program to check whether a student has passed or failed in a subject
after he or she enters their mark (pass mark for a subject is 50 out of 100).
Program should accept an input from the user and output a message as “Passed” or “Failed”
*/
#include
#include
int main(void) {
float marks;
printf("How much marks did you score?: ");
scanf("%f", &marks);
if (marks >= 50){
printf("Passed");
} else{
printf("Failed");
}
return EXIT_SUCCESS;
}
int main() {
int x;
printf("1 for Sunday
2 for Monday
3 for Tuesday
4 for Wednesday
5 for Thursday
6 for Friday
7 for Saturday
Enter your choice :");
scanf("%d",&x);
switch(x){
case 1:
printf("Sunday");
break;
case 2:
printf("Monday");
break;
case 3:
printf("Tuesday");
break;
case 4:
printf("Wednesday");
break;
case 5:
printf("Thursday");
break;
case 6:
printf("Friday");
break;
case 7:
printf("Saturday");
break;
default:
printf("Invalid Entry");}
return 0;
}
Bro ude vedio super anu nan calculator undaki thank you
Aaha …adipoli..
Next enthaanu cheyyandee ariyanaayi ee whatsapp linkil message cheyyu..
wa.me/message/3JYMEE2RWUWUH1
Or call to this number - 7034395811
Successfully completed day 3 assignment.
Q 2 ichiri kozhapichirinnu.
hahah!! well done my boy 👏🏼
Assignment paranjhu tharuo
Assignment paranjhu tharuo
swapping without temp
#include
int main(){
int a=10,b=20;
printf("a=%d
b=%d",b,a);
return 0;
}
#include
#include
int main(void) {
int a,b,c;
setbuf(stdout,NULL);
printf("Enter three numbers");
scanf("%d %d %d",&a,&b,&c);
if(a>b){
if(b>c) {
printf("%d is greater",a);
}
}else if(c>b){
printf("%d is greater",c);
}
else{
printf("%d is greater",b);
}
return EXIT_SUCCESS;
}
Simplest and nice
int main()
{
int a,b,c;
printf("enter tree numbers");
scanf("%d%d%d",&a,&b,&c);
if(a>b){
if(a>c){
printf("%d is greater",a);
}
}else if(b>c){
printf("%d is greatest",b);
}else{
printf("%d is greater",c);
}
return 0;
}
bro ingane alley ☺️
Sir what is the difference between nested if and else if ladder statements?.is they are same?
nammude telegram group il join cheyyu, tech support help cheyyum. brototype.com/learningclub/org/fullstack/?ref=youtube%20malayalam
@@BrototypeMalayalamtelegram link has expired😢
Please message us on Instagram
47:33 Ningalu full comedy analooo🤣🤣🤣🤣
Very help full video
Great feeling, thankyou very much sir❤
♥️
@@BrototypeMalayalam nested if evidey sir,you are great sir
Assignment 2
#include
int main() {
float mark;
char grade;
printf("Enter your mark percentage: ");
scanf("%f", &mark);
if (mark >= 90) {
grade = 'A';
} else if (mark >= 80 && mark = 70 && mark = 60 && mark = 50 && mark
Nikhil eetan saying "Whatever"
Is like Asif Ali saying "Edo"
😂😂😂
successfully completed the 3rd section and assignment..
#include
#include
int main(void) {
int a,b,c;
setbuf(stdout,NULL);
printf("enter 3 numbers:");
scanf("%d%d%d",&a,&b,&c);
if(a>b)
if(a>c)
printf("%d is greater",a);
else
printf("%d is greater",c);
else if(b>c)
printf("%d is greater",b);
else
printf("%d is greater",c);
return EXIT_SUCCESS;
}
Appo if condition shesham brace" {} " mandatory allee?? Plz reply
@@fahadmuhammed8690 if u keep spacing properly with syntax , it is not mandatory
@@mohammedrizwan1389 thanks bro
👌
2nd step engana c vanne
Assignment1:#include
int main() {
float mark;
printf("Enter the mark of the student:");
scanf("%f",&mark);
if(mark>50){
printf("Congrats Passed the Exam");
}
else{
printf("Sorry! Failed");
}
return 0;
}
Assignment2:
Assignment Day 3
Assignment 2
#include
int main() {
float mark;
printf("enter your mark percentage ");
scanf("%f",&mark);
if(mark100 )
{
printf("wrong entry
");
}
else if (mark>90 && mark=81 && mark=70 && mark=60 && mark=50&&mark
It was so helpful for me ☺️
There are some mistakes in this code like, if user enter 100, 90, 89, 80 etc. Nothing will print in console. To correct that, please change values and add necessary comparison operators.
@@aravindms5180 #include
int main() {
float mark;
printf("Enter Your mark Percentage ");
scanf("%f",&mark);
if(mark100){
printf("Wrong Enter");
}else if(mark>=90&&mark=80&&mark=70&&mark=60&&mark=50&&mark
There is something mistake bro. 80,... Missing in result.