Main.cc: In function ‘int main()’: Main.cc:7:2: error: expected primary-expression before ‘else’ else if("Yes") ^~~~