hi Everybody, Im totally new in working with c++, and i got stuck I think in some stupidity I cant find out what it is. I dont know what is going on wrong with the next code.
it is supposed to tell if a given integer is even, but it doesnt!!!
cout << "Enter the letter grades." << endl
<< "Enter the EOF character to end input." << endl;
while((grade = cin.get())!= EOF)
cout <<"Por Favor inserte un numero que no sea zero";
cout << "Number is even";
cout << "Number is not even";