Please help with aquarium lights - one more question- solved

Seems crazy to me Please advice on this.

The compiler doesn't care. If you do, use intermediate variables.

Can I do like that:

Int array;
array = sizeof(bluepercent)/sizeof(bluepercent[0]);
if (((ontime * 60) + photoperiod + whiteramptime + 2blueramptime + (blueramptime/array(array-1))) >= daybyminute)

Will, it should be int, not Int, and array as the name of the variable, when it contains size data, doesn't make sense, but, yes that is the general idea.