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

  Create a guessing game

Create a guessing game where the user enters an integer between 1 and 10.

  Write a java program that prints the numbers from 1 to 125

Write a Java Program that prints the numbers from 1 to 125. But for multiles of three print "Batman" instead of the number and for the multiples of five print "Superman". For instances which are multiples of both three and five "JusticeLeague".

  Employee for an hourly pay rate and hours worked

Write an application that prompts an employee for an hourly pay rate and hours worked. If any of the fields is empty, prompt the user to key in all details completely. Compute gross pay (hours times rate), withholding tax and net pay (gross pay mi..

  How events and graphical user interfaces are related

Describe what an event is and how events and Graphical User Interfaces (GUI) are related

  Create a class safestack that implements a stack of strings

Create a class SafeStack that implements a stack of strings

  Implementing inheritance by creating generic superclass

You will be implementing inheritance by creating a generic Racer superclass along with two subclasses called StreetTuner and HotRod. You will make the Racer class abstract and include the abstract method IsDead in the Racer class

  Determine statistics for a video game tournament

Write a program to determine statistics for a video game tournament and write a program to alphabetize a list of last names. The user will input an undetermined number of last names.

  Write program that can be used to read an extract from a log

Write a program that can be used to read an extract from a log for one elevator and print the following statistics: the total \uptime", that is the total time the elevator was in service, Σ(tdown - tup) (in years).

  Learn how expressions can be evaluated at run-time

Write a Java program (a collection of Java classes) including a class named ExpressionCalculator that contains a static main method. This main method will prompt the user to enter a constant expression.

  Simulate the transactions of a checking account

create a base class, called CBankAccount, and two additional classes (each derived from CBankAccount), called CSavingsAccount and CCheckingAccount.

  Write ijvm program to multiply two hexadecimal numbers

Write the IJVM program that multiplies two (hexadecimal) numbers. The user inputs the hex numbers and the result is printed out. The program then accepts another pair of numbers.

  Identify the 5 code elements

Identify the 5 code elements for a Password class. Things like: class, instance, and final variables, accessor and mutator method, public and private specifiers for methods and member variables.i need to provide detail and descriptions for each code ..

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