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 01:33 AM.
By SlickWilly440 in forum Java
Last Post: 01-28-2006, 10:17 PM
By Rob Abbe in forum Talk to the Editors
Last Post: 01-13-2003, 03:57 PM
By Lori Piquet in forum Talk to the Editors
Last Post: 10-10-2002, 07:01 AM
By Glen Kunene in forum Talk to the Editors
Last Post: 03-23-2002, 01:43 AM
Last Post: 11-16-2000, 01:45 AM
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