any Java programmers out there?
Posted: Tue Jan 29, 2008 1:41 pm
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:
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).