Question: Read four strings from input and call printLocation ( ) twice: once with the first and third inputs as arguments, and again with the second
Read four strings from input and call printLocation twice: once with the first and third inputs as arguments, and again with the second and fourth inputs as arguments.
Ex: If the input is Atlanta Medford Emory Tufts, then the output is:
Atlanta is the location of Emory University.
Medford is the location of Tufts University.
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
