so i want it to only say the "denied" statement when it's false, meaning anything else than 1022
Type: Posts; User: ilinan87
so i want it to only say the "denied" statement when it's false, meaning anything else than 1022
Ok so I figured out how to write the if else statements correct....
if( s_code==1022)
cout << "DENIED: Security Code Mismatch" << endl;
else if( zip_code == zip)
cout <<...
I"m trying to make my program decide when an input is invalid and use the right cout statement here is the code
if( s_code = 1022)
cout <<endl;
else
cout << "DENIED: Security Code...