comparing 2 variable Programming Web Development by aarya i m trying to compare 2 price for example when person enters min price as 3000$ and max price as $10000.and press search .it has to search all the price bewtween 3000$ to 10000$.i think the select option for price in cars.com best describe my problem i dont know how to proceed. i m new to php.i hope u guide me thanks Re: comparing 2 variable Programming Web Development by digital-ether ….and press search .it has to search all the price bewtween 3000$ to 10000$.i think the select option for price… ask_number() Programming Software Development by longlongsilver … number!" print "nI'm thinking of a number bewtween 1 and 100." print "try to guess it… Re: ask_number() Programming Software Development by longlongsilver … number!" print "nI'm thinking of a number bewtween 1 and 100." print "try to guess it… C++ problem.. Programming Software Development by sha11e …(!isdigit(user_numberr)) { cout <<"I said a number bewtween 1 and 5!" <<endl <<"… Re: C++ problem.. Programming Software Development by sha11e …(!isdigit(user_numberr)) { cout <<"I said a number bewtween 1 and 5!" <<endl <<"… Re: Junior High Computer teacher needs help!! Programming Software Development by Phaelax that image would be a number. RND(x) would give a number bewtween 0 and X. INT isn't necessary. R = 100*RND(X) + 1 So why is a teacher with no QB knowledge teaching a class on it? Re: I Need Help With this Project Programming Software Development by Yomet … alarm through a message box - You can save the interval bewtween alamrs - You can change the interval without saving - All the… Re: I Need Help With this Project Programming Software Development by Avatar … alarm through a message box - You can save the interval bewtween alamrs - You can change the interval without saving - All the… Re: Internet Drivers Corrupt!! Hardware and Software Microsoft Windows by caperjack …, ping [url]www.google.com[/url] ,note there is space bewtween ping and www. see if it goes to goole and… Re: Help With Boot.ini Please Hardware and Software Microsoft Windows by gerbil … feeling unworthy. I had always wondered, though, about the difference bewtween /p correctin errors [what errors] and /r fixing bad sectors… Re: help with code for stations programme Programming Software Development by DavidKroukamp …] it gives you formula's etc to calculate the distance bewtween two bearings, if this isnt of help just do a… Re: I'm stuck and not sure how to proceed. Programming Software Development by JamesCherrill The OP's fundamental misunderstanding here is that he has "Parent" objects that seem more-or-less reasonable, but uses doubles in method calls where we would expect a Parent. What is the relationship bewtween a double and a Parent in this application? Re: Add space between components and JFrame Programming Software Development by DavidKroukamp … have a constructor that accepts the vertical and horizontal gap bewtween components: for example using panel = new JPanel(new BorderLayout(5… space bewtween lines in a text box Hardware and Software Microsoft Windows by Davepl My friend who uses Peachtree accounting software, has this problem, after getting a new wide screen monitor. When running Peachtree, there are text boxes off to the side, (that list help items, or a table of contents, etc.). Instead of being easy to read, the lines are pushed together, with no space in between, and part of the top or bottoms of the… Re: comparing 2 variable Programming Web Development by chrisbliss18 What is it that you are searching: database, files, some other type of data collection? Re: comparing 2 variable Programming Web Development by aarya i m searching the price from the database within particular range. suppose i want to search between 1 to 10. search should display all information between the price range 1 to 10. in cars.com price search is there. i want to search taht type Re: comparing 2 variable Programming Web Development by chrisbliss18 SQL does the actual searching. PHP connects to the database, executes the queries, and formats the results. What part of the process do you not understand? Re: ask_number() Programming Software Development by Gribouillis Lines 18 and 19 should not be indented, and should use a call to ask_number(). Also there should be a loop somewhere. Re: ask_number() Programming Software Development by longlongsilver [QUOTE=Gribouillis;1395560]Lines 18 and 19 should not be indented, and should use a call to ask_number(). Also there should be a loop somewhere.[/QUOTE] i fixed the indention after i posted the first time, but i dont know where i should put the ask_number() and this loop i thought i already had the loop and ask_number() Re: ask_number() Programming Software Development by longlongsilver i made another code change now it wont let me run my code and i dont know why. if someone show me where the mistake is and how to fixz it thank you [CODE]import random secretNum = random.randrange(100)+1 tries = 0 while tries < 5: try: def ask_number(question, high, low): """Ask a yes or … Re: C++ problem.. Programming Software Development by jonsca Once you put in a number (1st character) and hit enter (2nd character), the input buffer has the extra '\n' from enter. Get rid of it with a cin.ignore() after each of the cin statements. Re: C++ problem.. Programming Software Development by jonsca I didn't know you wanted to get that fancy. Just kidding. That usage of cin.ignore assumes a streamsize of 1, change it to [icode] cin.ignore(256,'\n'); [/icode] to get it to ignore up to 256 characters (you can obviously make it ignore more) until it hits a newline. Re: C++ problem.. Programming Software Development by Dingbats That stops the repeated errors but it still accepts letters - try entering "9t2" or anything in that order. The question in the code states "Please pick a number between 1 and 5.". Is that important? Re: C++ problem.. Programming Software Development by jonsca You are correct about that Dingbats. I guess I envisioned the OP checking the number as a next step. I had suggested that the OP use a character for input in another thread (I think it's the same OP) and check the ASCII value was between '1' and '5', but I don't know what happened with that.