Question: Java example: Married - couple names This material has a series of sections providing increasingly larger program examples. The examples apply concepts from earlier sections.
Java example: Marriedcouple names
This material has a series of sections providing increasingly larger program examples. The examples apply concepts from earlier sections. Each example is in a webbased programming environment so that code may be executed. Each example also suggests modifications, to encourage further understanding of the example. Commonly, the "solution" to those modifications can be found in the series' next example.
This section contains a very basic example for starters; the examples increase in size and complexity in later sections.
NOTE: This section does not have any activity to be recorded as completed, and thus doesn't count towards a student's activity completion percentages. The example is included by popular request of students, who often ask for more examples and research indeed shows that students learn a lot by studying and tinkering with examples.
zyDE : Marriedcouple names.
Pat Smith and Kelly Jones are engaged. What are possible last name combinations for the married couple listing Pat first
Run the program below to see three possible marriedcouple names.
Extend the program to print the two hyphenated last name options SmithJones, and JonesSmith Run the program again.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
