Pure Programmer
Blue Matrix


Cluster Map

Project: Country Names

Write a program that prints various country names in their native language using Unicode characters embedded in strings. List the countries in alphabetical order. When you sort the code lines in your text editior, how do the different languages compare to each other?

See: [[ISO 3166-1]]
See: [[Google Translate]]

Output
$ javac -Xlint CountryNames.java $ java -ea CountryNames Brasil Canada Deutschland France Italia Méjico Österreich Perú Pilipinas Suid-Afrika Türkiye United Kingdom United States Việt Nam Ελλάδα Беларусь Россия ישראל المملكة العربية السعودية مصر इंडिया বাংলাদেশ 대한민국 中国 日本

Solution