cout << "Well done" <<endl;
cout << "Now enter you favorite word" <<endl;
cin >> favword;
cout <<"[/code]this is your favorite word " << favword <<endl;
system("pause");
return 0;
}
I wan't this program to be able to recognize if a user types in any word ex. (apple, tree, house etc..) and print "system error" if a word is recognized not to be a number. The bold section of code is my failed attempt to try this. Basically I need to know what to make
(x = ?(every word)) in order to finish my console program. thanks for the help