Purchase Solution

Birthday reminder program

Not what you're looking for?

Ask Custom Question

I am having an bit of issue with the program attached I want to create a birthday reminder program that accepts the user name and birthday as an input and displays the following messages based on the user's birthday: I am trying to create 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 In Java.

I figured out how to work with the dates. Right now all it does is prompt for user name and birthday, and then output the information back along with age in years and days.

I haven't yet accounted for leap years, so if the input birthday is a leap year or if the current date is a leap year, it's going to be off by a day or two.
Attached is the partial program I have written and compiled.

In the end I want the program to display these messages.
Birthday Messages to display

3) If a user's birthday is in two weeks from today's date, then the program should display. Hello <user name>, I am excited to let you know that you will be turning <xx> in <xx> days. Are you having any birthday plans?

Also I must be able to compile and run program in Java.
Please send hard code
Thank you.

PS. If viewing posting and fill credits are not adequate please move on. 6 creds are more than ample amount for a program that is more than half way finished. I need simple assitance and suggestions

Purchase this Solution

Solution Summary

Birthday reminder program is designed.

Purchase this Solution


Free BrainMass Quizzes
Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.