In pseudo code (or python) create a loop that will ask the use to enter and then add five zip codes to a one-dimensional array called zip code and then read and display that zip code array to the screen.
zipcode = [] # loop that will ask the use to enter and then add five zip codes for i in range(5): # Reading input code = int(input("Enter zip code: ")) # adding zip code to one-dimensional array called zip code zipcode.append(code) # display that zip code array to the screen. print(zipcode)
Get Answers For Free
Most questions answered within 1 hours.