Main.cc: In function 'int main()': Main.cc:6:20: error: invalid operands of types 'int(const char*, ...)' and 'int' to binary 'operator<<' scanf<<(a+b+c)/3; ^