You are viewing a single comment's thread. Return to all comments →
int count = 0; int max = 0; for(int a: candles){ if(a>max){ max = a; } } for(int a: candles){ if(a == max){ count++; } } return count;
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 →