my boss has to write a java program for a class and he wanted to know if I knew anybody who had a similar program that he could look at to get him started.
here are requirements:
Create a birthday reminder program that accepts the user name and birthday
as an input and displays one of the following messages based on the user's
birthday:
1) Happy birthday <user>. You are <xx> years old today.
or
2) Hello <user>, you will be <xx> years old in <xxx> days. As of today,
you are <xx> years and <xx> days old.
or
3) If a user's birthday is in two weeks from today's date, then the program
should display. Hello <user>, I am excited to let you know that you
will be turning <xx> in <xx> days. Are you having any birthday plans?
or
4) If the user's birthday had been within the past two weeks, then the
program should display. Hello <user>, how did you birthday party go? As
of today you are <xx> years and <xx> days old.
Please note that you must have all the above 4 scenarios incorporated in
your Java program. Insert appropriate comments in the program and insert
version control information in the program (Author(s), Modified Date,
version, description).
Umm, if he needs help with that, he probably needs to go back and read the first chapter of his textbook... That is literally about 15 lines of code, and the only thing easier is 'hello world'.
Jason "El Zorro" Fox '17 Subaru Forester 2.0XT
DCAWD - old coots in fast scoots.
I hate to be no help, but he really needs to do this on his own. This is a VERY simple program (hell, even I could do it!) and unless he masters these fundamentals, he's going to be TOTALLY lost later on (more so than now!).
Sabre (Julian) 92.5% Stock 04 STI
Good choice putting $4,000 rims on your 1990 Honda Civic. That's like Betty White going out and getting her tits done.