Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I really need help with this. It's not letting me run this program. Design a program that asks the user for a series of names

I really need help with this. It's not letting me run this program. image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Design a program that asks the user for a series of names (in no particular order). After the final person's name has been entered the program should display the name that is first alphabetically and the name that is last alphabetically For example, if the user enters the names Kristin, Joel, Adam, Beth, Zach, and Chris, the program would display Adam and Zach. Your solution should assume that all names will start with an uppercase letter. A condition-controlled loop must be used. The user will enter a sentinel value of DONE to indicate that there are no more names to be input. . You may not use an array! This is not a sorting problem! A Flowgorithm solution is required. name = name If you have no idea how to approach this problem, here is a partial solution written in Python to help you: input("Please enter a name:") alpha while name != "DONE": if name

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Exploring Public Relations Global Strategic Communication

Authors: Ralph Tench, Liz Yeomans

4th Edition

1292112182, 9781292112183

More Books

Students also viewed these Accounting questions