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

  Mutator method for every instance variable of a class

Is it required to provide an accessor and/or mutator method for every instance variable of a class? If yes, explain why this is required, and if no, explain why not.

  Java program that will prompt the user to input a file

Write a Java program that will prompt the user to input a file (document) in order to count the frequency of each word. This program will display the frequency of each word sorted alphabetically or by frequency (depending on the preference of the use..

  Javascript program that asks the use

Design a javascript program that asks the user for a username with at least eight characters, beginning with a letter and including at least one digit. Next, write a validation loop to ensure that these conditions have been met

  Calculates the minimum maximum and average for each quiz

Write a Java application that calculates the minimum, maximum, and average for each quiz. Print the output results in a table format using a text area. Use loop and if statement control structures as well as Array data structure

  Pronouns, and prepositions

Type addKeyword(): for each word on each page, add to a (keyword, URLs) list or dictionary, excluding articles, pronouns, and prepositions. For example:

  Will the direction and magnitude be integers or doubles

Define a Physics_vector class which consists of a struct containing the direction and magnitude, and also define a function

  Write a recursive instance method

Write a recursive instance method

  Implement a third component of the compiler

To detect duplicate declarations using the same identifier, you call the method retrieveOneLevel. This method returns a pointer to the identifier entry if the identifier was declared before in the current scope and null otherwise.

  Create a java gui application using netbeans

Create a Java GUI application using Netbeans that allows the user to enter the number of hours spent in each activity and then calculates the number of pounds lost.

  Program buttons that implements a window with three button

Proper coding conventions required the first letter of the class start with a capital letter and the first letter of each additional word start with a capital letter

  Derive the class extendedroman from the class roman

For part 'a' the source code for class Roman is attached to this assignment. You do not have to include the method decimalToRoman as you modify this class. Also, class Roman is not used in your test program.

  The letters of the alphabet a through z

The letters of the alphabet A through Z can be represented in Morse code. Each letter is represented by a combination of up to four dots and/or dashes, as shown below. Use Java to write and run a console-window program that can convert an English ..

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