Just can’t figure out what the answer of the question is:
//Here is an example of a strawberry index
var index = 20;
//Boolean value rotten
var rotten = false;
//If the index is divisible by five, the strawberry is rotten, so set
//rotten to true. False, otherwise
You’ve worked hard to pick 500 strawberries, but it looks like every 5th strawberry you picked was a rotten one! If each strawberry has an index value, write an if statement that returns true if the index is divisible by 5.
Someone able to provide me the code? PLEASE!