}
}
}
if(s == "2"){
system("cls");
cout << "press any key to exit.\n";
system("PAUSE >nul");
return EXIT_SUCCESS;}
}
the errors that I get are:
passing `double' for converting 1 of `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'