Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA Programming Language Question 1: Strings: Write a program that asks for two parallel arrays of String objects. One of the arrays will hold the

JAVA Programming Language

Question 1: Strings:

Write a program that asks for two parallel arrays of String objects. One of the arrays will hold the first names of the guests, and the other array will hold the last names of the guests. You are organizing a 21m birthday party for your best friend. The guests will be allocated to sit at a table at the party. Some of the guests will be seated at a special birthday table with your friend whose birthday you are celebrating. Those with a first name that starts with the same letter as the first name of your birthday friend will be sitting at the special birthday table.

Write a program that will complete the following tasks:

1. Ask the user for the number of guests to be seated. 2. Ask for the first name of the person having the birthday. 3. Ask the user for the first and last names of each guest, and store them in two parallel arrays. 4. Print out the names of those sitting at the special birthday table. Print the first names in lowercase, and the last names in uppercase.

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

Advances In Databases 11th British National Conference On Databases Bncod 11 Keele Uk July 7 9 1993 Proceedings Lncs 696

Authors: Michael F. Worboys ,Anna F. Grundy

1993rd Edition

3540569219, 978-3540569213

More Books

Students also viewed these Databases questions