do you mean this:
if (data[2] > 0) {
// do something if first condition match
}
else if ((data[0] > 0) && (data[1] == 0)) {
// do smth else, if first condition is false and the second and third are true
}
do you mean this:
if (data[2] > 0) {
// do something if first condition match
}
else if ((data[0] > 0) && (data[1] == 0)) {
// do smth else, if first condition is false and the second and third are true
}