Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USE JAVA to Ask a user to input their name (first and last as 1 variable). Ask them to input their favorite integer and letter.

USE JAVA to

Ask a user to input their name (first and last as 1 variable).

Ask them to input their favorite integer and letter.

Utilize the favorite number to create a set of random numbers from 1 to their favorite number and store them in an array the same size as their favorite number.

If their favorite letter is between a and g inform them that their favorite food must be pizza. If their favorite letter is between h and z inform them that their favorite food must be hamburgers.

Create a table of numbers that stores the numbers in the initial array (row 1), then those numbers squared (row 2), then cubed (row 3).

Write a function that asks the user to spell out the name of the city they were born in and store it in an array.

In another function reverse the spelling of the name of the birth city.

Ask the user to input the day, month and year they were born. Use pass by value or pass by reference to determine the age of the user.

Output a statement that tells the user their name, age, birthplace, favorite number and letter.

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

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions