Define a method printCollegeCity() that has two string parameters and outputs as follows. End with a newline. printCollegeCity()
should not return any value.
Ex: If the input is Portland Reed, then the output is:
Portland is the location of Reed College.
1 import java.util.Scanner;
2
3 public class CollegeCity {
4
5 /* Your code goes here */
6
7 public static void main(String[] args) {
8 Scanner scnr = new Scanner(System.in);
9 String collegeLocation;
10 String collegeName;
11
12 collegeLocation = scnr.next();
13 collegeName = scnr.next();
14
15 printCollegeCity(collegeLocation, collegeName);
16 }