Thread: why wont this work???

  1. #1
    Unregistered
    Guest

    Question why wont this work???

    i get an error message when i try this.....


    if(amount >2000 && <4000)



    this works ok:

    if(amount <4000)



    so why wont the first one work????


    thanks

  2. #2
    I think this will work

    if(amount > 2000 && amount < 4000)

  3. #3
    Unregistered
    Guest
    yep! that works fine french fry! : )

    cheers mate!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. strcmp returning 1...
    By Axel in forum C Programming
    Replies: 12
    Last Post: 09-08-2006, 07:48 PM
  2. getline() don't want to work anymore...
    By mikahell in forum C++ Programming
    Replies: 7
    Last Post: 07-31-2006, 10:50 AM
  3. Why don't the tutorials on this site work on my computer?
    By jsrig88 in forum C++ Programming
    Replies: 3
    Last Post: 05-15-2006, 10:39 PM
  4. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM
  5. DLL __cdecl doesnt seem to work?
    By Xei in forum C++ Programming
    Replies: 6
    Last Post: 08-21-2002, 04:36 PM