You are viewing a single comment's thread. Return to all comments →
Ask yourself a few questions:
-The number of highest candles
-I need to know what the highest candle is.
-I need to know how many of them there are.
-Simple comparison should work for knowing what the highest is. Just store it in a var and reset when I find one that's bigger.
-Store the quantity in a var, increment it whenever I find one of the Highest candles and reset it each time I find a new highest candle.
Seems like cookies are disabled on this browser, please enable them to open this website
Birthday Cake Candles
You are viewing a single comment's thread. Return to all comments →
Ask yourself a few questions:
-The number of highest candles
-I need to know what the highest candle is.
-I need to know how many of them there are.
-Simple comparison should work for knowing what the highest is. Just store it in a var and reset when I find one that's bigger.
-Store the quantity in a var, increment it whenever I find one of the Highest candles and reset it each time I find a new highest candle.