If condition Explain this program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If condition Explain this program

On this program output is Sachin but according to the if by condition is true because float value is equals to the f 1 so why it prints the else statement not the if condition statement why please explain a https://code.sololearn.com/cHuBKVN4UvpU/?ref=app

15th May 2020, 2:42 AM
Sachin Saxena
Sachin Saxena - avatar
2 Answers
0
so float is not worked on if condition
15th May 2020, 2:50 AM
Sachin Saxena
Sachin Saxena - avatar
0
Ok thanks
15th May 2020, 2:56 AM
Sachin Saxena
Sachin Saxena - avatar