I set this labtask at 10:40am on the 19th of March 2003. The deadline for Saddam Hussein to react to the demands of the "coalition of allies" (or as the Late Show named them, "Britain and Spain") was 8pm that night. It seemed likely that the demands would not be met, and the USA would wage war (what?) on Iraq. At times like that it is useful to record the perceived "best ally" of each country involved.

Write a program that allows a user to:

A sample run should look something (order is not important) like (the keyboard input is in italics) ...
Enter nation name : USA
Enter nation name : Britain 
Enter nation name : Egypt
Enter nation name : Iraq
Enter nation name : Kuwait
Enter nation name : France
Enter nation name : 
Enter best ally name for France  : Britain
Enter best ally name for Kuwait  : USA
Enter best ally name for Iraq    : Egypt
Enter best ally name for Egypt   : France
Enter best ally name for Britain : USA
Enter best ally name for USA     : Britain
The best ally of France is Britain
The best ally of Kuwait is USA
The best ally of Iraq is Egypt
The best ally of Egypt is France
The best ally of Britain is USA
The best ally of USA is Britain 

You must ...

Answer