Search:

Type: Posts; User: ilinan87

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,504

    so i want it to only say the "denied" statement...

    so i want it to only say the "denied" statement when it's false, meaning anything else than 1022
  2. Replies
    8
    Views
    1,504

    reply

    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 <<...
  3. Replies
    8
    Views
    1,504

    trouble with if else statements

    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...
Results 1 to 3 of 3