DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2006

    Talking Try this Java program! !

    please try this program in java...
    the problem is:
    write a program that plays word game with the user. the program would ask the user to input the following:
    1.what is your name?
    2.what is your age?
    3.where do lived?
    4.what is your school name?
    5. what is your proffesion?
    6. what type of animal?
    7. what is your pets name?

    after the user have enter this items, the program should display the following story, inserting the user's inputs into the approriate location:

    "There once was a person <name> who lived in <location>. At the age of <age>,<name>, went to <school>. <Name> graduated and went to work as a <proffession>. Then <Name> adopted a <animal> name <petsName>. They both lived hapilly ever after".

    try to write this in java: its fun (^_^)..... thank you! send me your codes
    Last edited by javacc; 08-16-2006 at 12:33 AM.

  2. #2
    Join Date
    Dec 2004
    San Bernardino County, California
    Thanks for the fun!

Similar Threads

  1. Help! Simple Java Program.
    By SlickWilly440 in forum Java
    Replies: 2
    Last Post: 01-28-2006, 09:17 PM
  2. DevX does seem one sideded
    By Rob Abbe in forum Talk to the Editors
    Replies: 44
    Last Post: 01-13-2003, 02:57 PM
  3. Has Sun Given Up on the Desktop?
    By Lori Piquet in forum Talk to the Editors
    Replies: 114
    Last Post: 10-10-2002, 06:01 AM
  4. .NET vs. Enterprise Java: Who's Got Better Security?
    By Glen Kunene in forum Talk to the Editors
    Replies: 17
    Last Post: 03-23-2002, 12:43 AM
  5. Replies: 0
    Last Post: 11-16-2000, 12:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.