Try this Java program! !


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Try this Java program! !

  1. #1
    Join Date
    Jul 2006
    Posts
    4

    Talking Try this Java program! !

    [FONT=Arial][COLOR=Black]
    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 01:33 AM.

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

Similar Threads

  1. Help! Simple Java Program.
    By SlickWilly440 in forum Java
    Replies: 2
    Last Post: 01-28-2006, 10:17 PM
  2. DevX does seem one sideded
    By Rob Abbe in forum Talk to the Editors
    Replies: 44
    Last Post: 01-13-2003, 03: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, 07: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, 01:43 AM
  5. Replies: 0
    Last Post: 11-16-2000, 01: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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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