Main.cc: In function 'int main()':
Main.cc:19:6: error: expected primary-expression before ')' token
if () {
^
Main.cc:21:15: error: invalid operands of types 'int [4]' and 'double' to binary 'operator>'
} else if (a>sum) {
^
Main.cc:23:13: error: 'b' was not declared in this scope
} else if (b>sum) {
^
Main.cc:25:11: error: 'c' was not declared in this scope
}else if(c>sum){
^