Write a Java program with a class named Introduction that prints: 1. Your name. 2. A blank line. 3. Your favorite short poem (or first several lines of your favorite poem). This must be at least three lines long and no more than seven lines long. 4. The author of the poem, indented four spaces and preceded by two hyphens. If you don't know who the author was, use Anonymous. 5. A blank line. 6. Your age in years. 7. Your moderate intensity exercise heart rate, calculated by subtracting your age from 220, then multiplying that result by 0.60. Have Java do the calculation. You might get a lot of decimal places as in the following example. That's OK. 8. The result of multiplying 12345679 times your favorite one-digit number times 9 -- have Java do the calculation. Don't choose zero as your one-digit number. Do not put the digit 8 in 12345679. Here is a sample of what my output might look like. Your output must not be identical to this output. I put in question marks for the result of step 8, because I do not want to ruin the surprise for you. My name is David Eisenberg. Beneath these high cathedral stairs Lie the remains of Susan Pares. Her name was wiggs; it was not Pares, But Pares was put to rhyme with stairs. --Edward Lear 66 92.3999999 ?????

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Write a Java program with a class named Introduction that prints:
1. Your name.
2. A blank line.
3. Your favorite short poem (or first several lines of your favorite poem). This must be at least three lines long and no
more than seven lines long.
4. The author of the poem, indented four spaces and preceded by two hyphens. If you don't know who the author was,
use Anonymous.
5. A blank line.
6. Your age in years.
7. Your moderate intensity exercise heart rate, calculated by subtracting your age from 220, then multiplying that
result by 0.60. Have Java do the calculation. You might get a lot of decimal places as in the following example. That's
OK.
8. The result of multiplying 12345679 times your favorite one-digit number times 9 -- have Java do the calculation.
Don't choose zero as your one-digit number. Do not put the digit 8 in 12345679.
Here is a sample of what my output might look like. Your output must not be identical to this output. I put in question
marks for the result of step 8, because I do not want to ruin the surprise for you.
My name is David Eisenberg.
Beneath these high cathedral stairs
Lie the remains of Susan Pares.
Her name was wiggs; it was not Pares,
But Pares was put to rhyme with stairs.
--Edward Lear
66
92.39999999999999
ܕܕܕܕܕ
The name of your Java class must be Introduction.
When you finish, upload the Introduction.java file.
Transcribed Image Text:Write a Java program with a class named Introduction that prints: 1. Your name. 2. A blank line. 3. Your favorite short poem (or first several lines of your favorite poem). This must be at least three lines long and no more than seven lines long. 4. The author of the poem, indented four spaces and preceded by two hyphens. If you don't know who the author was, use Anonymous. 5. A blank line. 6. Your age in years. 7. Your moderate intensity exercise heart rate, calculated by subtracting your age from 220, then multiplying that result by 0.60. Have Java do the calculation. You might get a lot of decimal places as in the following example. That's OK. 8. The result of multiplying 12345679 times your favorite one-digit number times 9 -- have Java do the calculation. Don't choose zero as your one-digit number. Do not put the digit 8 in 12345679. Here is a sample of what my output might look like. Your output must not be identical to this output. I put in question marks for the result of step 8, because I do not want to ruin the surprise for you. My name is David Eisenberg. Beneath these high cathedral stairs Lie the remains of Susan Pares. Her name was wiggs; it was not Pares, But Pares was put to rhyme with stairs. --Edward Lear 66 92.39999999999999 ܕܕܕܕܕ The name of your Java class must be Introduction. When you finish, upload the Introduction.java file.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY