Question: 5 2 7 5 8 8 . 3 9 1 0 1 5 4 . qx 3 zqy 7 Jump to level 1 Read four
qxzqy
Jump to level
Read four strings from input and call printUniversityCity 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 Peoria Upland Bradley Taylor, then the output is:
Peoria is the location of Bradley University.
Upland is the location of Taylor University.
import java.util.Scanner;
public class UniversityCity
public static void printUniversityCityString city, String university
System.out.printlncity is the location of university University.";
public static void mainString args
Scanner scnr new Scanner
System.in;
Your code goes here
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
