题目: write a program that outputs "The Name Game," where the user inputs a first and last name and a song is printed about their first, then last, name. Use a method to avoid redundancy.
定义一个数组来存姓名,然后输出数组第一个元素和最后一个元素
这个是依据什么前提条件通过姓名去关联歌曲的?