Problem

Name, Age, and Annual IncomeWrite a program that declares the following:• a String variabl...

Name, Age, and Annual Income

Write a program that declares the following:

• a String variable named name

• an int variable named age

• a double variable named annualPay

Store your age, name, and desired annual income as literals in these variables. The program should display these values on the screen in a manner similar to the following:

My name is Joe Mahoney, my age is 26 andI hope to earn $100000.0 per year.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 9 more requests to produce the solution.

1 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT