Тёмный

Part 3 | Swapping Problem And Control Statement | 3 Hour Coding Challenge 

Brototype Malayalam
Подписаться 426 тыс.
Просмотров 142 тыс.
50% 1

24/7 FREE Telegram Support! Sign Up Now:
study.brototyp...
In this Part 3 video, we will cover the basics of the swapping problem and control statement. The 3-hour coding challenge is here. Learn the basics of coding and develop your own coding skills.
Link to the Registration form for the 3-hour coding challenge: brototype.com/...
Watch the 100k Coding Challenge:
• 100K Coding Challenge
About us:
Subscribe to Kerala's top tech-career RU-vid channel and gain access to free programming tutorials and tech-career videos in Malayalam. This channel will help you gain skills and knowledge to build a high-income career in the IT field.
Enroll in our 7-month offline training program, 'Brocamp', to learn coding and other skills in an office environment by paying the training fee after placement.
To know more about Brocamp, Visit:
brototype.com/...
For any inquiries & updates:
Call/Whatsapp us at 7034395811
► Connect with Nikhil Kilivayil: www.instagram....
Connect on Linkedin: / nikhilkilivayil
► Follow Brototype on Instagram: www.instagram....
► Follow Brototype on Linkedin: / mycompany

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

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 366   
@Evikksszzzmoonu
@Evikksszzzmoonu 2 месяца назад
Areelum undoo ipo thudagiyaa 🫣
@Black-q8n
@Black-q8n 2 месяца назад
Njan und
@Evikksszzzmoonu
@Evikksszzzmoonu 2 месяца назад
@@Black-q8n broo eth vara ayii
@Gamereactor-1k
@Gamereactor-1k 2 месяца назад
Yeah
@ananthukrishna.v2092
@ananthukrishna.v2092 2 месяца назад
Njan
@ananthukrishna.v2092
@ananthukrishna.v2092 Месяц назад
Njan
@izzethjebinkalpurath-sx4gf
@izzethjebinkalpurath-sx4gf 11 месяцев назад
trick 😀printf("a : %d and b : %d",a,b) at last a,b change to b,a
@ansondaniel11
@ansondaniel11 Год назад
Swapping without temp int a=10, b=20; printf("a:%d b:%d%", b, a); *its a simple trick😌
@basilmk6138
@basilmk6138 7 месяцев назад
This is good
@chillwithme6816
@chillwithme6816 5 месяцев назад
👍👍👍
@KrystoGamingYT
@KrystoGamingYT Месяц назад
G
@muhammedajmal2158
@muhammedajmal2158 2 месяца назад
Int num1,num2,num3; Printf(“enter three number”) Scanf(“%d%d%d”,&num1,&num2,&num3); If(num1>num2){ Printf(“greatest number is %d”,num1); } If(num3>num1){ Printf(“greatest number is %d,num3); } Else{ If(num3>num2){ Printf(“greatest number is %d”,num3); } } Return 0; }
@KrystoGamingYT
@KrystoGamingYT Месяц назад
@subeesht1805
@subeesht1805 7 дней назад
how you are going to print num2, if num2 is greatest number??
@subeesht1805
@subeesht1805 7 дней назад
int num1,num2,num3; printf("enter three numbers "); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2) { printf("the largest number is:%d",num1); } if(num1>num3) { printf("the largest number is:%d",num1); } if(num2>num3) { printf("the largest number is:%d",num2); } else { printf("the largest number is :%d",num3); } return 0; }
@sneakyx388
@sneakyx388 11 месяцев назад
Swaping without temp variable int a=10,b=20 Printf(enter two numbers); scanf(" %d %d ",&a &b); printf(a=%d , b=%d,b,a);
@jibinreji2767
@jibinreji2767 9 месяцев назад
It's working as variables declarations types.(taken data from user)
@abhiram_04
@abhiram_04 3 месяца назад
Correct bro 👍
@tholhamubashir
@tholhamubashir 2 месяца назад
Firstile printfum scanf ntim aaavshym illello , variable declare cheyynille?
@hamzamkmattathil9625
@hamzamkmattathil9625 2 месяца назад
But avide swaping nadakkillallo.. Value of a and b remains same.. Not swaped.. This is only a printing trick.. The actual motive of this programe is relpace the value of a with b and b with a. Not to display as b a
@shamilmuhammad6705
@shamilmuhammad6705 2 месяца назад
Nested if manasilayaaa
@MyCodingDiary
@MyCodingDiary Год назад
You are doing such an excellent job, keep up the great work!♥
@steveroger3914
@steveroger3914 10 месяцев назад
int main() { int a,b,c; printf("Enter 3 numbers"); scanf("%d%d%d",&a,&b,&c); if(a>b&a>c){ printf("greatest number is %d",a); } if(b>a&b>c){ printf("greatest number is %d",b); }if(c>a&c>b){ printf("greatest number is is %d",c); } return 0;
@Appu-qq7kt
@Appu-qq7kt 8 месяцев назад
Thanks bro❤
@sreenivassreenuzz2686
@sreenivassreenuzz2686 8 месяцев назад
If il a>b mathi angana 3 lines ezhuthiyal mathi & avashyam illa
@Vahidps
@Vahidps 5 месяцев назад
@DragonSevo
@DragonSevo 3 месяца назад
Thanks bruh
@adithyan7209
@adithyan7209 3 месяца назад
Bro ivide else illathe engana work aakunne
@muhammadmubarack7428
@muhammadmubarack7428 Год назад
Swapping without temp simple step😉 #include int main() { int a=10,b=20; printf("a:%d b:%d",b,a); return 0; }
@adhil.h9472
@adhil.h9472 2 месяца назад
int a=10, b=20; printf("a:%d b:%d%", b, a); swappimg without tempp
@Jyothilekshmi-vm6fj
@Jyothilekshmi-vm6fj 4 месяца назад
Int a,b; Printf("enter two numbers"); Scand("%d%d",&a,&b); Printf("a=%d,b=%d",b,a);
@ghanashyamgovind4067
@ghanashyamgovind4067 2 месяца назад
int num1,num2,num3; printf("enter 3 numbers :"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2){ if(num1>num3){ printf("greatest number is %d",num1); }else{ printf("greatest number is %d",num3); } }else{ if(num2>num3){ printf("greatest number is %d",num2); }else { printf("greatest number is %d",num3); } }
@fathimazuhra7267
@fathimazuhra7267 12 дней назад
int a=10,b=20; a=a+b; b=a-b; a=a-b; printf("a %d b %d",a,b);
@1AMHiM.
@1AMHiM. 10 дней назад
Run cheythappo a=20 b=20😢
@fathimazuhra7267
@fathimazuhra7267 9 дней назад
@@1AMHiM. Cheydad onnude check cheyyu
@cobratateishere
@cobratateishere 6 месяцев назад
Swap 'a and b' to 'b and a' in the printf last 👍👍
@strangerv2
@strangerv2 6 месяцев назад
NESTED IF int main() { int a,b,c; printf("enter 3 numbers"); scanf("%d%d%d",&a,&b,&c); if (a
@thinkbeyond2288
@thinkbeyond2288 5 месяцев назад
Compare 3 numbers int main() { int number1,number2,number3; printf("Enter 3 numbers"); scanf("%d%d%d",&number1,&number2,&number3); if (number1>number2){ if (number3>number1){ printf("%d is the greatest", number3); }else{ printf("%d is the greatest", number1); }}else{ if (number3>number2){ printf("%d is the greatest", number3); }else{ printf("%d is the greatest", number2); }} return 0; }
@Ronaldjoseph123
@Ronaldjoseph123 9 месяцев назад
Swaping without temp variable int a=10, b=20; printf("Before swap a=%d b=%d",a,b); a=a+b;//a=30 (10+20) b=a-b;//b=10 (30-20) a=a-b;//a=20 (30-10) printf(" After swap a=%d b=%d",a,b);
@muhammedrafi8937
@muhammedrafi8937 Год назад
Swapping without temporary variable int a,b; printf("Enter 2 numbers"); scanf("%d%d",&a,&b); printf("a=%d b=%d",b,a);
@shahlaac582
@shahlaac582 Год назад
👍🏻
@rasimmohammed2066
@rasimmohammed2066 10 месяцев назад
ethil variable users allyea kodukunath ...? avida number swap akunath developer inu allyea mansilakullu 🤔
@muhammedrafi8937
@muhammedrafi8937 10 месяцев назад
@@rasimmohammed2066 users just values മാത്രമാണ് കൊടുക്കുന്നത് variable അല്ലല്ലോ. Ath eth variable ലേക്ക് store ആകണം എന്ന് programmer അല്ലേ decide ചെയ്യുക.
@As3-2024
@As3-2024 10 месяцев назад
int main() { int num1,num2,num3; printf("enter any 3 numbers"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2) if(num1>num3){ printf("the greater number is :%d",num1); } if(num2>num1) if(num2>num3){ printf("the greater number is :%d",num2); } if(num3>num1) if(num3>num2){ printf("the greater number is :%d",num3); } return 0; }
@Fayis005
@Fayis005 Месяц назад
int a=10,b=20; a=a+b; b=a-b; a=a-b; printf("a :%d b :%d",a,b);
@StickDoodeAnimations
@StickDoodeAnimations 2 месяца назад
Just printing position Maatiyal Madhi variablesinte.😊
@sherisherin5391
@sherisherin5391 2 месяца назад
Int a=20,b=30; printf("a:%d b:%d",a,b); Run🎉
@sarang_cs
@sarang_cs 2 месяца назад
int main() { Int a=40,b=90; printf("a:%d and b:%d",b,a); return 0; }
@stumehere
@stumehere Год назад
nested if int num1,num2,num3; printf("enter 3 numbers"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2){ if(num1>num3) printf("%d will greater",num1); } if(num2>num1){ if(num2>num3) printf("%d will greater",num2); } if(num3>num1){ if(num3>num2) printf("%d will greater",num3); }
@cobratateishere
@cobratateishere 6 месяцев назад
IDH YN CHERDHAKKAAN PATOOLE, WHY THIS MUCH LENGTHY?
@Vahidps
@Vahidps 5 месяцев назад
👍
@vijayarajvijay7486
@vijayarajvijay7486 5 месяцев назад
Ivide else inte avashyam ille
@_Jessin
@_Jessin 3 месяца назад
DAY 2
@rakeshpr2851
@rakeshpr2851 3 месяца назад
int a, b, c; printf ("Enter three numbers"); scanf ("%d%d%d", &a, &b, &c); if (a > b & a > c) { printf ("Greatest number is %d", a); } if (b > a & b > c) { printf ("Greatest number is %d", b); } if (c > a & c > b) { printf ("Greatest number is %d", c); } return 0; }
@badminton4life63
@badminton4life63 Год назад
Swapping without temp variable, use XOR operator. a=a^b;b=a^b;a=a^b;
@laizerpubg3890
@laizerpubg3890 10 месяцев назад
Mass da nee
@badminton4life63
@badminton4life63 10 месяцев назад
@@laizerpubg3890 thanks da
@keerthanaminnu4052
@keerthanaminnu4052 4 месяца назад
Can you please help me in solving nested if. I got stuck with else
@BrototypeMalayalam
@BrototypeMalayalam 4 месяца назад
Join our Telegram group, our team will help you. join here brototype.com
@subeesht1805
@subeesht1805 7 дней назад
I think this will work for finding greatest number from 3 numbers: int num1,num2,num3; printf("enter three numbers "); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2) { printf("the largest number is:%d",num1); } if(num1>num3) { printf("the largest number is:%d",num1); } if(num2>num3) { printf("the largest number is:%d",num2); } else { printf("the largest number is :%d",num3); } return 0; }
@mrperfect9881
@mrperfect9881 3 месяца назад
Swap Without Two Variables A=A+B B = A-B A= A-B
@mohammedmunavarbsa573
@mohammedmunavarbsa573 2 месяца назад
int main() { int a,b,c; printf("Enter three number here"); scanf("%d%d%d", &a,&b,&c); if (a>b && a>c){ printf("Greatest number is: %d",a); }else if(b>a && b>c){ printf("Greatest number is: %d",b); }else{ printf("Greatest number is: %d",c); } return 0; }
@samsheersamshi9930
@samsheersamshi9930 Год назад
int main() { int a,b,c; printf("enter 3 numbers"); scanf("%d%d%d",&a,&b,&c); if(ac){ printf("greatest is %d",b); }else{ printf("greatest is %d",c); } return 0; }
@hilallive
@hilallive Год назад
int main() { int num1,num2,num3; printf("enter 3 numbers"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2) if(num2>num3){ printf("greatest number is %d", num1); }else{ printf("greatest number is %d",num2); } if(num1
@chugiyan5184
@chugiyan5184 10 месяцев назад
​@@hilalliveAvasanathe variyil num 2 aanu varune?
@seu8867
@seu8867 Год назад
18:21 //Nested if #include int main() { int num1,num2,num3; printf("Enter 3 nums"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2 && num1>num3){ printf("Greatest num is: %d",num1); } else if(num2>num3){ printf("Greatest num is: %d",num2); } else{ printf("Greatest num is: %d",num3); } return 0; }
@muhammadsinan3074
@muhammadsinan3074 Год назад
Ith nested if allalo
@raheezzz9056
@raheezzz9056 3 месяца назад
Thks
@hadhi0564
@hadhi0564 11 месяцев назад
int main() { int num1,num2,num3; printf("enter 3 number"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2 & num1>num2){ printf("greatest number is %d",num1); }else if (num2>num1 & num2>num3){ printf("greatest number is %d",num2); }else{ printf("greatest number is %d",num3); } return 0; }
@atbvlogs7711
@atbvlogs7711 5 месяцев назад
ഇത് മൊത്തം കാണാതെ പഠിക്കണോ
@mohammadaslamj7017
@mohammadaslamj7017 4 месяца назад
Vendivarum
@AdmiringDancers-pv6nv
@AdmiringDancers-pv6nv 3 месяца назад
Venda just manasilakya madhi
@Amruthesh2005
@Amruthesh2005 Месяц назад
int main() { int num1,num2,num3; printf("Enter 3 numbers"); scanf("%d%d%d",&num1,&num2,&num3); if (num1>num2){ if(num1>num3) printf("Greatest number is : %d",num1); else printf("Greatest number is : %d",num3); }else{ if(num2>num3) printf("Greatest number is : %d",num2); else printf("Greatest number is : %d",num3); } return 0; }
@zeimorc
@zeimorc 2 месяца назад
nested if int num1,num2,num3; printf("enter 3 numbers"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2){ if(num1>num3) printf("%d will greater",num1); } if(num2>num1){ if(num2>num3) printf("%d will greater",num2); } if(num3>num1){ if(num3>num2) printf("%d will greater",num3); } return 0; } isn't correct
@dharveshvyas2556
@dharveshvyas2556 Год назад
int main() { int a,b,c; printf("enter three numbers"); scanf("%d %d %d",&a,&b,&c); if(ac){ printf("greatest number is %d",b); }else{ printf("greatest number is %d",c); } if(a>b) if(b
@sanjai.suresh
@sanjai.suresh Год назад
thanks bro
@antonyjaison3244
@antonyjaison3244 Год назад
bro this code is wrong. when we enter 8,7,6 . it says 7 is the greatest
@_s.d_stories_5880
@_s.d_stories_5880 Год назад
wrong ah
@shafnaarees8808
@shafnaarees8808 11 месяцев назад
Chatgpt namukk ellaam code cheyd tharunnundallo then y v r studying this
@jdesters
@jdesters 3 месяца назад
You can actually swap 2 "integers" without a temp. 1. Let a and b 2. a = a+b 3. b = a-b 4. a = a-b Now b contains the value of a and a contains the value of b.. and its not like printing the value of a and b with printf where you are not actually swapping values but merely printing them in wrong order..
@techyvlogyjins6054
@techyvlogyjins6054 6 месяцев назад
part3 completed
@althafali9744
@althafali9744 4 дня назад
In the if else case, what about zero? Actually, zero is not negative nor positive in mathematics
@BrototypeMalayalam
@BrototypeMalayalam 4 дня назад
Join our Telegram group, our team will help you. Join here :brototype.com
@Prakashkrishnannkp
@Prakashkrishnannkp 8 месяцев назад
nested if- int num1,num2,num3; printf(" Enter Three different Numbers : "); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2){ if(num1>num3){ printf("%d is greatest number ",num1); }else{ printf("%d is greatest number ",num3); } }else if(num2>num1){ if(num2>num3){ printf("%d is greatest number ",num2); }else{ printf("%d is greatest number ",num3); } }else{ printf("%d is greatest number ",num1);
@BrototypeMalayalam
@BrototypeMalayalam 8 месяцев назад
3 hour telegram Join the Learning Club, our tech support will help you. Join here: brototype.com/3h/?ref=ytdescription
@galaxy2073
@galaxy2073 29 дней назад
12:55
@fathimasulthana9963
@fathimasulthana9963 Год назад
swapping without temple sample int main() { int a=10, b=20; printf("a: %d, b: %d',b,a); return 0; }
@sayoojc2573
@sayoojc2573 Год назад
smart work
@aromalsajeev5334
@aromalsajeev5334 Год назад
int main() { int num1,num2,num3; printf("enter 3 numbers"); scanf("%d%d%d",&num1,&num2,&num3); if(num1num3){ printf("greatest is %d",num1); }else{ printf("greatest is %d",num2); } return 0; }
@martinpaul3350
@martinpaul3350 Месяц назад
IT'S MY FIRST CODE, AND I DON'T KNOW WHY IT'S NOT WORKING. (CAN YOU PLEASE EXPLAIN). int main() { int a,b; printf("Enter 2 value"); scanf("%d%d", &a,&b); if(a/2!=0) { printf("odd"); if(a!=b) { printf("not equel"); } else { printf("equel"); } } if(a/2==0) { printf("even"); if(a>b) { printf("a is bigger"); } if(a
@BrototypeMalayalam
@BrototypeMalayalam Месяц назад
Join our Telegram group, our team will help you. Join here :brototype.com
@Aslamindia123
@Aslamindia123 Год назад
int main() { int number1,number2,number3; printf("enter 3 numbers"); scanf("%d%d%d",&number1,&number2,&number3); if(number1>number2){ printf("greatest number is :%d",number1);} else{ if(number2>number3){ printf("greatest numbers is :%d",number2); }else{ printf("greatest number is :%d",number3); } }
@binoanil6954
@binoanil6954 8 месяцев назад
in first if, if number 3 is the greatest number and number 1>number2, it will print number 1 instead of number3
@nishidakiliyanthody163
@nishidakiliyanthody163 14 дней назад
Swap()
@subeesht1805
@subeesht1805 22 дня назад
Swaping value of variables with out temp. int main() { int a=1,b=2; printf("a:%d b:%d",b,a); return 0; }
@parvathy-y7b
@parvathy-y7b Год назад
swapping without variables int a=100,b=200; printf("a=%d b=%d",b,a);
@FlyingnRafi
@FlyingnRafi 6 месяцев назад
👍👍
@eldhosetips
@eldhosetips 3 месяца назад
int main() {int a=30,b=10; printf("a :%d b:%d",b,a); return 0; }
@muhammedshad6805
@muhammedshad6805 4 месяца назад
Njan ith kure cheyithi nokki but ente mathram redi avunila🥲
@BrototypeMalayalam
@BrototypeMalayalam 4 месяца назад
Join our Telegram group and ask your doubts, join here brototype.com
@asiftechy6927
@asiftechy6927 7 месяцев назад
Sir nested if doubt ind paranj tharo
@BrototypeMalayalam
@BrototypeMalayalam 7 месяцев назад
Surely, Learning club join ചെയ്യു. Tech support team നിങ്ങളെ help ച്ചയും. Register at brototype.com/learningclub/org/fullstack/100k/?ref=youtube_malayalam_comments
@mikeyO718
@mikeyO718 6 месяцев назад
int main() { int num1,num2,num3; printf("enter 3 numbers"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2){ printf("greatest number is %d", num1); }else if(num3>num1){ printf("greatest number is %d",num3); }else{ printf("greatest number is %d",num2); } return 0; }
@shamnass9407
@shamnass9407 Год назад
+2 computer science padichitu oru karyam polum manassilayitilla but this class 😌😌😌
@BrototypeMalayalam
@BrototypeMalayalam Год назад
No,calicut varu . purath ninn padikkaan budhimutaanel brocamp remote option available aan .for more details connect to our team 7034395811 or instagram.com/brototype.malayalam
@antonyv.d
@antonyv.d 4 месяца назад
int main() { int num1, num2, num3; printf ("Enter any three numbers : "); scanf("%d%d%d", &num1, &num2, &num3); if (num1 >= num2){ if (num1 >= num3){ printf("Greatest number is %d ", num1); }else{ printf("Greatest number is %d ", num3); } }else{ if(num2 >= num3){ printf ("Greatest number is %d", num2); }else{ printf ("Greatest number is %d", num3); } } return 0; }
@gamylaw
@gamylaw Год назад
nested if ,ath swanthamyi cheythu but 2 pravishyam greater is ,greater is enn paranj greater num kaanikkunnu
@BrototypeMalayalam
@BrototypeMalayalam Год назад
Join the Learning Club, our tech support will help you. Join here: brototype.com/learningclub/org/fullstack/?ref=ytdescription
@fasilzpv
@fasilzpv 2 месяца назад
@5:41 Fount the trick... int a=10,b=25; printf("a:%d b:%d",b,a); ✌
@iam-unni
@iam-unni 10 месяцев назад
nested if #include int main() { int num1,num2,num3; printf("enter 3 numbers"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2) if(num1>num3){printf("%d is greater",num1); }if(num2>num3){printf("%dis greater",num2);} else{printf("%d is greater",num3);} return 0; }
@aswinu1779
@aswinu1779 10 месяцев назад
2 if angane orumich vannal kittuoo🤔
@danielbovas8646
@danielbovas8646 5 месяцев назад
When you didn't put and represent sign I knew there will be an error ,at first i thought it's different way of doing it
@Tech2Malayalam
@Tech2Malayalam 7 месяцев назад
Nested if #include int main(){ int num1,num2,num3; printf("enter 3 numbers"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2){ if(num1>num3){ printf("the greatest number is :%d",num1); } else{ printf("the greatest number is :%d",num3); } } else if(num2>num3){ printf("the greatest number is :%d",num2); } else{ printf("the greatest number is :%d",num3); } return 0; }
@MohammedSuhail-b4w
@MohammedSuhail-b4w Месяц назад
Any one know three numbers with nested if program
@BrototypeMalayalam
@BrototypeMalayalam Месяц назад
Join our Telegram group, our team will help you. Join here :brototype.com
@All_In_One-t6y
@All_In_One-t6y Год назад
Int a=10,b=20; a=a; b=b; printf("a :%d b :%d", b, a); return 0; Console a :20 b:10
@explorer_mallu
@explorer_mallu Месяц назад
18:00 int main() { 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",c); } return 0;
@Sherinzvlogz
@Sherinzvlogz 8 месяцев назад
#include { void main() int num1,num2,num3; printf("Enter three numbers"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2&num1>num3){ printf("The greatest number is %d,num1); } if(num2>num1&num2>num3){ printf("greatest number is %d,num2); } if(num3>num1&num3>num2){ printf("greatest number is %d,num3) } return(0); }
@Unfamiliar007
@Unfamiliar007 7 месяцев назад
int main() { int num1, num2, num3; printf("enter any number"); scanf("%d%d%d", &num1, &num2, &num3); if(num1>num2){ printf("greatest number is %d", num1); if(num2>num1) printf("greatest number is %d", num2); }else{ printf("greatest number is %d", num3); } return 0; }
@DevipriyaTD-m1f
@DevipriyaTD-m1f Год назад
Swapping problem without using variable temp #include int main() { int a=10,b=20; printf("a:%d b:%d",b,a); return 0; }
@jamsheerjamshi8407
@jamsheerjamshi8407 Год назад
👍
@ragnaryt8451
@ragnaryt8451 Год назад
Wow🎉
@shakkirafathima4193
@shakkirafathima4193 Месяц назад
18:49 Int a,b,c; Printf("enter 3 numbers"); Scanf("%d%d%d",&a&b&c); If(a>b,a>c);{ Printf("greater than %d",a); }If(b>a,b>c);{ Printf(" greater than%d",b); }If(c>a,c>b); Printf("greater than %d",c); }
@jerinjohn0073
@jerinjohn0073 8 месяцев назад
int main() { int n1,n2,n3; printf("enter 3 number "); scanf("%d%d%d",&n1,&n2,&n3); if(n1>n2){ printf("result is %d",n1); }else if (n2>n3){ printf("result is %d",n2); }else if(n3>n1){ printf("result is %d",n3); } return 0; }
@MastertheOGway
@MastertheOGway 2 месяца назад
Trick :D Int a=5,b=1; a=5-4; b=1+4; print("a:%d b:%d", a, b) ;
@soorajsathyapal3914
@soorajsathyapal3914 8 месяцев назад
for finding greatest of 3 numbers 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 greatest number is:%d",num1); } else { printf("the greates number is:%d",num3); } } else { if(num2>num3) { printf("the greatest number is:%d",num2); } else { printf("the greatest number is:%d",num3); } } return 0; }
@anups4750
@anups4750 28 дней назад
Oru valiya carrier gap nu shesham😂 10yr
@BrototypeMalayalam
@BrototypeMalayalam 28 дней назад
Not a problem, just go ahead!
@Nafiouoop
@Nafiouoop Год назад
int main () { int num1,num2,num3; printf("enter 3 numbers"); scanf("%d%d%d" ,&num1,&num2,&num3); if(num1>num2 && num1>num3){ printf("greatest number is %d" ,num1); }else if(num2>num3 && num2>num1){ printf("greatest number is %d" ,num2); }else if(num3>num1 && num3>num2){ printf("greatest number is %d" ,num3); } return 0; }
@vishnutspersonal8567
@vishnutspersonal8567 7 месяцев назад
printf("a :%d b: %d",b,a);
@chincyvs2606
@chincyvs2606 Год назад
#include int main() { int a=10,b=20; a=b; b=a-10; printf("a :%d b :%d",a,b); return 0; }
@vishnuhm8663
@vishnuhm8663 Год назад
printf("a:%d b:%d",b,a); for swaping without temp
@girigokul-w4x
@girigokul-w4x 3 месяца назад
swappng wthout temp varable= int a=70,b=56; printf("a=%d b=%d",b,a);
@aravindrajm6727
@aravindrajm6727 Год назад
Swapping without variable int a,b; printf("enter 2 number"); scanf(*%d%d" , a, &b). printf("a%db%d" ,a,b) ; scanf("a-%d,b*); scanf ("b-%d, a"); printf("result :a% b%d" ,b,a);
@Noshin_Vk
@Noshin_Vk 9 месяцев назад
int a,b; printf("enter 2 number"); scanf("%d%d",&a,&b); printf("a%d b%d. ",a,b); scanf("a- %d",&b); scanf ("b- %d",&a); printf("result :a%d b%d",b,a); return 0;
@sir_albaxious1909
@sir_albaxious1909 2 месяца назад
plz give me nested if example
@BrototypeMalayalam
@BrototypeMalayalam 2 месяца назад
Join our Telegram group, our team will help you. Join here:brototype.com
@fidha6495
@fidha6495 4 месяца назад
Nested if Int num 1,num2,num3; Printf("enter 3 numbers"); Scanf("%d%d%d", &num1,&num2,&num3); If(num1>num2) If(num2>num3){ Printf("greatest number is %d", num1); Printf("greatest number is %d", num2); Printf("greatest number is %d", num3); }
@AllRounder-ov2cn
@AllRounder-ov2cn 4 месяца назад
Engane cheyyumboo 3 answerum kanikkan👀👀
@sunishkumar8550
@sunishkumar8550 11 месяцев назад
Nested if..... #include int main() { int a, b, c; printf("Enter Three 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 0; }
@ADI-kf9wi
@ADI-kf9wi 9 месяцев назад
int a,b ; printf("enter a and b"); scanf("%d%d",&a,&b); printf("a=%d,b=%d",b,a);
@ajibanaju-mz1zr
@ajibanaju-mz1zr 8 месяцев назад
#include int main() { int n1, n2, n3; printf("Enter three numbers: "); scanf("%d%d%d", &n1, &n2, &n3); if (n1 > n2 && n1 > n3) { printf("The greatest number is %d ", n1); } else if (n2 > n1 && n2 > n3) { printf("The greatest number is %d ", n2); } else { printf("The greatest number is %d ", n3); } return 0; }
@rakeshpr2851
@rakeshpr2851 3 месяца назад
Trick = printf("a : %d, b : %d",b,a)
@techykurumban
@techykurumban 3 месяца назад
b=a+b; a=b-a; b=b-a;
@clickvinayanhg3161
@clickvinayanhg3161 7 месяцев назад
int kazhjnju printf il ("b : %d a : %d" , a, b);
@rahulc6088
@rahulc6088 5 месяцев назад
a=a+b b=a-b a=a-b
@coorgvalue4627
@coorgvalue4627 8 месяцев назад
#include int main() { int a = 10, b = 20; printf("Before swapping: a = %d, b = %d ", a, b); // Swapping without a third variable a = a + b; b = a - b; a = a - b; printf("After swapping: a = %d, b = %d ", a, b); }
@bahacomputer4902
@bahacomputer4902 7 месяцев назад
swapping without temp int a=10,b=20; a==b; b==a; printf("a:%d b:%d",b,a);
@sanjaybalachandran1756
@sanjaybalachandran1756 Месяц назад
greater number kandethan 3 numbers vech cheyyumbol 3 variables koodathe 1 variable koode use cheyyande? total 4 variables vende?
@BrototypeMalayalam
@BrototypeMalayalam Месяц назад
Join our Telegram group, our team will help you. Join here :brototype.com
@fowmilaj1976
@fowmilaj1976 8 месяцев назад
a=a+b b=a-b a=a-b
@shahinamubarak7844
@shahinamubarak7844 4 месяца назад
a=10, b=20 b=a+b-b a=a+b-a a=a+a Now a=20 b=10
@Lyrics_with_valaydam
@Lyrics_with_valaydam 7 месяцев назад
Njanum😂 &num idan marakkum
@Bronze-fury
@Bronze-fury 8 месяцев назад
nested if int num1,num2,num3; printf("enter 3 numbers); Scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2){ Printf("greatest number is %d",num1); }if(num2>num3){ Printf("greatest number is %d, num2); }if(num3>num1){ Printf("greatest number is %d,num3); }
@BrototypeMalayalam
@BrototypeMalayalam 8 месяцев назад
Do Join the Learning Club, our tech support will help you. Join here: brototype.com/3h/?ref=ytdescription
@musthafamuthu3924
@musthafamuthu3924 Год назад
Swapping without temp sample Int a=10, b=20; a=a+b; b=a-b; a=a-b; P("a:20,b:10",a, b);
@binjii
@binjii Год назад
Wow👀
@B2Craft
@B2Craft Год назад
👍🏻
@leo-bb7sr
@leo-bb7sr Год назад
Bro p endva
@shibu476
@shibu476 Год назад
🔥🔥🔥
@shibu476
@shibu476 Год назад
​@@leo-bb7srprintf
@joelmprakash8349
@joelmprakash8349 8 месяцев назад
int main() { int n1, n2, n3; printf("Enter the 3 numbers "); scanf("%d %d %d", &n1, &n2, &n3); if (n1>n2 & n1>n3) { printf("%d is greater", n1); }else if (n2>n1 & n2>n3) { printf("%d is greater", n2); }else { printf("%d is greater", n3); } return 0; }
@Leelakp65
@Leelakp65 10 месяцев назад
Enter three number
@arun_km_9027
@arun_km_9027 10 месяцев назад
int num1,num2,num3; printf("Enter 3 number"); scanf("%d%d%d",&num1,&num2,&num3); if(num1>num2){ printf("greatest is %d",num1); if(num3>num1){ printf("greatest is %d",num3); } }else{ if(num3>num2){ printf("greatest is %d",num3); }else{ printf("greatest is %d",num2); } } enganee type cheyunatha poreee
@muhammedswalih8970
@muhammedswalih8970 9 месяцев назад
Nested if എങ്ങനെ ചെയ്യാം, try ചെയ്തു error കാണിക്കുന്നു.
@BrototypeMalayalam
@BrototypeMalayalam 9 месяцев назад
Try again!
Далее
ТАРАКАН
00:38
Просмотров 1,6 млн
Лучше одной, чем с такими
00:54
Просмотров 341 тыс.
How he became a developer with ₹3,00,00,000 salary!
47:29
Every student must watch!! 😲
14:01
Просмотров 71 тыс.
Who can become a developer? 🤔🧑🏻‍💻
23:30