codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  JAVA If statements  49erslove at 02:48 on Saturday, February 06, 2010
 

I need some help please!

I'm trying to create a name generator for pets. I would like to have a drop down menu with the selection options such as "dog, cat, fish, reptile" and then have the generator display an adjective that is based on the specific pet and then a noun that is random for all pets. That way the adjective could be like a first name and the noun like a last name.

I am having trouble with If statements. I can do the "cat and dog" but i can't figure out how to add a third pet. I am using If and then Else.

Any help?










CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  array of struct
•  matrix prblm in java
•  Re: how to open instantly a pop up window whenever a user sends a message to the other user
•  Re: PING PROGRAM IN PERL
•  Re: date of birth validation using java script-very urgent
•  JAVA If statements
•  Need Help with a Regular Expression
•  Informations on HTML
•  Re: FREE TV on your PC!


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2010