0

Write a program that print the state of the US when entered its abbreviation. The program must accept only a string values?

1st Oct 2019, 10:20 AM
Cherrie Anne Menzon Arquines
Cherrie Anne Menzon Arquines - avatar
3 Respuestas
+ 4
If you make a start, others can help you with any difficulties.
1st Oct 2019, 11:28 AM
Sonic
Sonic - avatar
+ 3
put the language of your choice in the tag. also let us see your attempt. if you're looking for a tip. try Map the State name with its abbreviation as the key. if you hope for someone to write the program for you, good luck with that.
1st Oct 2019, 11:30 AM
Taste
Taste - avatar
+ 3
You can try using an array of objects (dictionaries in Python) to store both the states and the translations, then loop through this to find each translation based on the state input, would be one approach...
1st Oct 2019, 1:12 PM
Peter David Carter
Peter David Carter - avatar