Display the birthday messages.

Assignment Help JAVA Programming
Reference no: EM13942029

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

Attachment:- java Happy B-day.zip

Reference no: EM13942029

Questions Cloud

Current assets exceed its long-term liabilities : ratio indicates that its current assets exceed its long-term liabilities
Determining one strengths and areas needing improvement : Write a 2-page paper on the strengths needed in the position you seek. As you assess your strengths, skills, and values, it is time to identify a career field/industry that you are interested in exploring. Knowing your strengths and weaknesses can..
Automatic feature in word automatically corrects typos : The first time you save a document, which dialog box appears? Which automatic feature in Word automatically corrects typos, minor spelling errors, and capitalization as you type? What happens when you click the Zoom level button? Which button is not ..
Explain what ethical issues sox has helped : Explain what ethical issues SOX has helped with and where improvement is still needed.
Display the birthday messages. : 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.
Explain how that factor can cause productivity figures to be : Explain how that factor can cause productivity figures to be misleading. Is there another way to compare the two plants that would be more meaningful?
Original agreement had binding arbitration clause : Virginia Cicle had a credit card with Chase Bank USA. The original agreement had a binding arbitration clause and class action waiver. In 2005, Chase sent a new agreement, and Cicle was given the choice of closing her account, but she used the card a..
Salaries of superstar professional athletes receive : The salaries of superstar professional athletes receive much attention in the media. The multimillion-dollar long-term contract is now commonplace among the elite group. Nevertheless, rarely does a season pass without negotiations between one or m..
What is the cost of this activity : If the activity level is 33,850, what is the cost of this activity? DATA GIVEN:constant 4,378 Standard error of Y estimate 912R square 0.9183 No. of observations 12 Degrees of freedom 10 Coefficient(s) 2.35 Standard error of coefficient (s) 0.437525.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Simulate distributing furniture from wholesale to stores

A Wholesale furniture distributing company in Florida is providing furniture to 4 furniture stores. Write an application to simulate distributing furniture from Whole sale center to different stores.

  Use a loop to allow a user to enter a series of numbers

Use a loop to allow a user to enter a series of numbers and then print out the series of numbers when the user is done. The user stops the lseries program by entering -1 (or any negative number).

  The program should ask the user to enter the student'' answer

Your program should store these correct answers in an array. (Store each question's correct answer in an element of a string array.) the program should ask the user to enter the student's answers for each of the 20 questions, which should be stored i..

  Benefits of using java as a programming language

What are the benefits of using Java as a programming language? Discuss how the use of an integrated development environment (IDE) such as Eclipse enhances programmer productivity

  Create a java program

UserApp and PrettyPrintUtility multiple times (supplying different TransData test file names), the AutoTesterUtility PROGRAM will be the driver program.

  Implements both the quicksort and mergesort algorithms

Write a program that correctly implements both the Quicksort and Mergesort algorithms. The program should generate an array of 500 random numbers in the 1-100 range. The program should sort the same set of numbers and keep time stamps of how long it ..

  Information from the user and prints a payroll statement

Write a program that accepts the following information from the user and prints a payroll statement

  Create a new project in ide named exceptionhandler

Write code to accept numbers as described above from the user. Your code should ensure that only numbers are accepted.

  A regular polygon is an n-sided polygon

A regular polygon is an n-sided polygon in which all sides are of the same length and all angles have the same degree(i.e the polygon is both equilateral and equiangular).

  Write a program to track hourly employee departure

A company hires you to write a program to track hourly employee arrival and departure times from work. In essence, you are tasked to make an online time clock.

  Rewrittting codes in java

However, I am told the above code would not be written by an experienced Java programmer because the showMessageDialog method is static within the class. How would a pro would write it?

  How much more that person needs to spend to qualify

Program that takes the amount a person has spent and determines the discount ($15 per $175 spent).

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd