I want to create a logic such that if a value in a label lies between 0 to 5 then set img to 1.png, otherwise if img lies between 5 to 10 then set img to 2.png and if the value of that label lies between 10 to 15 The set img to 3.png
You can do it with simple if/else conditions. I don’t see any problems.
Trie this with math componet
is label 1 less or equal to 5 show 1.png
is label 1 major 5 and less or equal to 10 show 2.png
is label 1 major 10 and less or equal to 15 show 3.png
And these with 43 blocks, but optimized so it doesn’t check each 0-5, 5-10 and 10-15 every time.
Please reply if it helps/we misunderstood you.
This Was The Cleverest of all. ThanKyou
This are a Daily Challengs ???
No, we just try to help him.
yes i kwon, only a joke
Thank You Very Much
With 18 blocks
You’re right @bestprintsf this is going to be a DC
This one also displays an error message if the number is over 15. @YugamAggarwal
You are wrong all 1.png
I win !!!
You fix yor block. This to do pitfall
Woah, mate! Stay cool, this is not a race nor a challenge. We are in the same team if you want to take it like this.
Wdym? I saw that I forgot to edit them and fixed the mistake. What’s wrong?
Yes you are rights. So sorry i’m only joke, to go to distract my head and that of you also
I post before you edit !!!
Oh right but let’s not hijack this topic.
Thanks so much for to be glad the day