Swift Question

Write the Swift code to:
declare a dictionary called ‘States’ of which uses String for keys and String for values
set its capacity to 16 items
the key of the dictionary element should be the two letter state abbreviation and the value of the dictionary element should be the state name, e.g. “NY” and “New York” respectively.
set the data in the dictionary to the five large states of California, Texas, Florida, New York and Illinois – the data for each state should be set in the dictionary on separate statements
print the dictionary contents in a formatted fashion with keys in one column and values in the second column.

Place this order or similar order and get an amazing discount. USE Discount code “GWEXDDSRGCF10” for 10% discount

This question has been answered by our writers. you can buy the answer below or order your 0% plagiarized answer


Order your 0% plagiarized answer