printf("a is larger",%d); Instead of "a is larger", it'll directly print 50 is largest number.
@codewithprem044 ай бұрын
Because we want to which is largest number, that's why I'm printing the value also.
@shyamsundar28618 ай бұрын
But two number are equal then how to find largest number
@codewithprem044 ай бұрын
If two numbers are equal and the third number is larger than those two numbers then the third is the largest number otherwise it is smaller than the those two equal number then one of the number is largest number in two equal number.
@QGVIRAT__188 ай бұрын
Sir do you forgot to write return 0
@Yupppi9 ай бұрын
How about changing it to printf("%d is the bigger number. ", a); So the user gets the actual number and not a random letter they weren't introduced? I feel like the %d, a is such a small thing since the technique was already introduced in the scanf to the coder.
@codewithprem049 ай бұрын
Purpose of using %d in printf() function, is to show which number is big to user, I used only for understanding purpose to the audience. You'll use with or without %d in printf(), it's your choice. 😊
@softwaredynamicsolutions9 ай бұрын
👍👍👍
@HANUMANJI_YT9 ай бұрын
Where you write this code at which IDE
@codewithprem049 ай бұрын
Coding C
@HANUMANJI_YT9 ай бұрын
Which IDE you use
@codewithprem049 ай бұрын
Coding C
@smart.gadgetsforall10 ай бұрын
Thanku bro for sharing the video ❤. My AI teacher has given homework to find the factorial of any number. By your your video i have solved my problem.👍👍
@codewithprem0410 ай бұрын
You're welcome 💜
@adarshmishra221810 ай бұрын
Bro you enter two equal numbers and last one is enter small number then the output also show small number 😊
@codewithprem0410 ай бұрын
Yeah bro,you're right 😊👍
@codewithprem0410 ай бұрын
And I've uploaded new short, check it once that will solve your query...! 😊 Short link.... kzfaq.info1-HagOiWjjM?si=TT51-LXgqdc3leFf
@belovedasif0111 ай бұрын
Error😂
@codewithprem0411 ай бұрын
😊👍🏻
@Abdulthoughts Жыл бұрын
it's work bro🎉❤
@Jasminaaaa777 Жыл бұрын
Can u tell the app name plz
@codewithprem04 Жыл бұрын
Coding c
@vatsvlogs6110 Жыл бұрын
Bro ..one doubt.. Fact=fact*i .. ka logic?
@codewithprem04 Жыл бұрын
According to the mathematics, formula to find factorial of a number is n! =n*(n-1)* (n-2)* (n-3)* (n-4) *(n-5) *__ So that, we will add this formula logic in our program, to find the factorial value.. 😊
@seshasainishanth-cu3wm Жыл бұрын
We can do morenthsn easier way
@codewithprem04 Жыл бұрын
Ok
@harleenkaur5336 Жыл бұрын
Thank you 🙏
@codewithprem04 Жыл бұрын
You’re welcome 😊
@user-oo8td9tm5d Жыл бұрын
Thanks
@nnellaiyappan1 Жыл бұрын
How to print second largest number plzz bro podunga
@HarshwardhanPjadhavjadha-xu6hq Жыл бұрын
Nice broo i am also doing c
@codewithprem04 Жыл бұрын
Oh nice
@josivaldocarvalho1190 Жыл бұрын
Negative number?
@josivaldocarvalho1190 Жыл бұрын
-1?
@surajaayan2633 Жыл бұрын
Keep gng
@resonance112 Жыл бұрын
👍👍👍
@resonance112 Жыл бұрын
Hello prem, good work keep it up 👍😊
@codewithprem04 Жыл бұрын
Thanks❤
@resonance112 Жыл бұрын
@@codewithprem04 hey rvu java developer??
@codewithprem04 Жыл бұрын
@@resonance112 No, but I'm a student.
@resonance112 Жыл бұрын
Okay prem , keep learning 👍
@codewithprem04 Жыл бұрын
Ty ❤
@heartlan2999 Жыл бұрын
idiot.its java code
@jenniferdcunha5991 Жыл бұрын
Tzh
@KSB___online Жыл бұрын
thank you❤ 🙌
@codewithprem04 Жыл бұрын
Welcome 💜
@tejasmeshram8782 Жыл бұрын
Konse year me ho aap
@codewithprem04 Жыл бұрын
2022
@tejasmeshram8782 Жыл бұрын
@@codewithprem04 engineering kar rahe ho kya
@codewithprem04 Жыл бұрын
@@tejasmeshram8782 Nhi, BCA kar raha hu
@tejasmeshram8782 Жыл бұрын
@@codewithprem04 sahi hai bhai all the best
@codewithprem04 Жыл бұрын
@@tejasmeshram8782 Thanks bhai,, aap engineer kar raha hai kya?
@tejasmeshram8782 Жыл бұрын
Hello bhai
@codewithprem04 Жыл бұрын
Hi
@ADHM-ti5gi Жыл бұрын
😄😄😄♡
@ismaelmoraleda228 Жыл бұрын
indentation left the chat
@codewithprem04 Жыл бұрын
Ok
@sgowthamloverboy Жыл бұрын
You missed a case that all are equal
@codewithprem04 Жыл бұрын
Ok
@harshallokhande2954 Жыл бұрын
I made that case in my program at end in else . Referred only 1st if condition from video .thanks
@wayeelyusuf8900 Жыл бұрын
Thanks
@carlosheredia5601 Жыл бұрын
U forgot the indentation of the printf in else, although it looks the same with the 1 space indentation xd