This is the code
yes its cheezy but its to someone who only does qbasicCode:#include <iostream> #include <stdlib.h> using namespace std; int main() { int a; char C; cout<<"Why Hello "; cout<<"What lang you think this is in? "; cin>>a; if(a==C++) ( cout<<"You got it"; ) else ( cout<<"Nope Its C++ "; ) system("PAUSE"); return 0; }
the error i get is on the line cout<<"You got it"; the error is parse error before";" i have no clue what it is im am working in devc++ any help would be appreciated. o in case its no obvious i am new and learning