-
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 12:33 AM.
-
Similar Threads
-
By SlickWilly440 in forum Java
Replies: 2
Last Post: 01-28-2006, 09:17 PM
-
By Rob Abbe in forum Talk to the Editors
Replies: 44
Last Post: 01-13-2003, 02:57 PM
-
By Lori Piquet in forum Talk to the Editors
Replies: 114
Last Post: 10-10-2002, 06:01 AM
-
By Glen Kunene in forum Talk to the Editors
Replies: 17
Last Post: 03-23-2002, 12:43 AM
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks