File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes help people for the last time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

help people for the last time

vuthlarhi donald
Ranch Hand

Joined: Jul 31, 2006
Posts: 76
I have bean writing this code for some time..and I want to be done with it bt many people don't understand what I am traying to achieve..but what I am traying.....in short this is what I am traying to achieve!

Write a class that does the following:
- Creates 10 instances of your person class with all the information filled in (names, email, username, password etc).
- Prompts a user to enter their username and password.
- if the username/password combination exists for one of your ten users then print out a welcome message as well as all the details of that user.
- if the username/password combination fails, allow them to try again.
- if they have filled in the wrong username/password combo for 3 times, display a message informing them of this and quit.

fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11256
    
  16

I am closing this thread. please see here.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help people for the last time