A contact number is entered as a string containing 13 characters.
It always begins with a ‘+’ symbol, followed by a two-digit international code, and then ten digits.
Examples:
+44XXXXXXXXXX
+20XXXXXXXXXX
The system recognises these international codes:
44 → United Kingdom
20 → Egypt
Write a pseudocode algorithm that:
asks the user to enter the phone number
extracts the two-digit international code
displays the name of the country
displays "Unknown" if the code is not one of the two listed