for(int i = 0; i < sugarlevels.length; i++) { if(sugarlevels[i].disobey(parameters) && sugarlevels[i].isprevenient()) { console.writeline("time to begin afresh with your sugar intake, but remember, going overboard is a no-go for maintaining a healthy lifestyle."); break; } }