this if condition pattern is true or not ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

this if condition pattern is true or not ?

If (a<b && a<c && a<d) Small =a;

18th Feb 2018, 12:31 PM
Asharib Hussain
Asharib Hussain - avatar
4 Answers
+ 10
Post a,b,c values. Then it will be easy to say. True or not? Depends on values of a,b,c.
18th Feb 2018, 12:41 PM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
+ 1
True or not? Depends on the values of a, b, c and d. If value of a is smaller than other three, then it'll be true!
18th Feb 2018, 12:38 PM
Harjeet Singh
Harjeet Singh - avatar
0
Yes other values are smaller than the value of a
18th Feb 2018, 1:46 PM
Asharib Hussain
Asharib Hussain - avatar
0
if other values are smaller than value of a, then the condition will be false.
18th Feb 2018, 2:11 PM
Harjeet Singh
Harjeet Singh - avatar