p100ex4 - Cross Country
Given a two digit code, decide if the code represents either:
All codes are case sensitive, and will always be two letters long. Be sure to reject invalid codes by outputting "invalid code". Also, output what each code represents, as stated exactly.
Input consists of two character code representing either one of the six categories described above.
Ouput the full description of the code. If the code does not exist, output "invalid code".
Point Value: 3
Time Limit: 2.00s
Memory Limit: 16M
Added: Oct 21, 2008
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3