Question: Write program that performs the tasks described below Continually prompt the user for the names of US cities / towns: Add the city entered to
Write program that performs the tasks described below Continually prompt the user for the names of US citiestowns: Add the city entered to a list of cities. pt If at least cities have been entered and the user enters a blank user hits enter without making an entry city name, the program should perform the following actions: pts Display the number of characters in each citytown name pts Replace all vowels in the names of the cities with asterisks pts Display each city name spelled backward pts Display the list of cities entered. pt Display the number of cities entered. pt Display the name of the city with the shortest name pts Display the name of the city with the longest name pts Implement a function a function, writedata to write the contents in alphabetical order of the list to a file citylist.txtpts Exit the loop. ptsWrite program that performs the tasks described below Continually prompt the user for the names of US citiestowns: Add the city entered to a list of cities. pt If at least cities have been entered and the user enters a blank user hits enter without making an entry city name, the program should perform the following actions: pts Display the number of characters in each citytown name pts Replace all vowels in the names of the cities with asterisks pts Display each city name spelled backward pts Display the list of cities entered. pt Display the number of cities entered. pt Display the name of the city with the shortest name pts Display the name of the city with the longest name pts Implement a function a function, writedata to write the contents in alphabetical order of the list to a file citylist.txtpts Exit the loop. ptsWrite program that performs the tasks described below Continually prompt the user for the names of US citiestowns: Add the city entered to a list of cities. pt If at least cities have been entered and the user enters a blank user hits enter without making an entry city name, the program should perform the following actions: pts Display the number of characters in each citytown name pts Replace all vowels in the names of the cities with asterisks pts Display each city name spelled backward pts Display the list of cities entered. pt Display the number of cities entered. pt Display the name of the city with the shortest name pts Display the name of the city with the longest name pts Implement a function a function, writedata to write the contents in alphabetical order of the list to a file citylist.txtpts Exit the loop. pts
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
