Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

with a slice pilai Way to celebrate a birthday. While most restaurants will join in the celebrat of cake (or a cupcake) topped by a

image text in transcribed
with a slice pilai Way to celebrate a birthday. While most restaurants will join in the celebrat of cake (or a cupcake) topped by a candle with the staff and other diners joining in on a celebratory song few will sing "Happy Birthday", the traditional song of celebration here in the United States. Do you know why "Happ Birthday" was registered with a copyright in the early 1900s, with the copyright renewed every 75 (or so) years. By la any commercial establishment that uses "Happy Birthday" in celebration with their patrons must pay a fee each time the song is used. Today most of the larger chains will develop their own celebratory song. You however do not charge your Mom (for example) a fee to serve her a Birthday dinner. No copyright fee therefore is necessary when yo sing "Happy Birthday" just before she cuts the birthday cake. Write a program that will prompt you for your mothers name and then recite the lyrics to the song "Happy Birthday placing here name in the appropriate place in the last stanza of the song. A typical interaction might look like this (Note the name "Maria Louisa" is entered by the user after the prompt): What is your mothers name? Maria Loulsa Happy Birthday to you; Happy Birthday to you; Happy Birthday Maria Louisa; Happy Birthday to you; Procedure 1. Use the Eclipse editor to enter the program and save as XXPLPO1 java where XX are the initials to your first and last name. Be sure to use comments to identify yourself as the author of the program. 2. Compile the program under Eclipse 3. Edit the source program, correct the errorfs) and save the source file. 4. Repeat steps 2 & 3 until all syntax errors are located and corrected. 5. Run the program and when prompted, enter your mothers first and middle names. Note--Her maiden name may be substituted for her middle name. 6. Test until your output matches the expected output (use the example above as reference) up

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Autonomous Database In Enterprise Architecture

Authors: Bal Mukund Sharma, Krishnakumar KM, Rashmi Panda

1st Edition

1801072248, 978-1801072243

More Books

Students also viewed these Databases questions

Question

Determine the domains of the following functions. f(x)=x + 1

Answered: 1 week ago

Question

6. Identify seven types of hidden histories.

Answered: 1 week ago

Question

What is the relationship between humans and nature?

Answered: 1 week ago