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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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