Question: Command: areneighbours Parameters: 2 integers Behaviour: The system must read in two integers from the standard input stream then output a Yes if the two
Command: areneighbours
Parameters: integers
Behaviour: The system must read in two integers from the standard input stream then output
a Yes if the two cities represented by those numbers are neighbours or No otherwise.
Expected output on test data with input : Yes
Expected output on test data with input : No
Expected output on test data with input : Yes
Expected output on test data with input : Yes
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
