1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
likoan [24]
3 years ago
5

Design a program that asks the user for a series of names (in no particular order). After the final person’s name has been enter

ed, 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, Zeb, and Chris, the program would display Adam and Zeb.
Computers and Technology
1 answer:
masya89 [10]3 years ago
8 0

Answer:

size = int(input("How many names will be there? "))

names = []

for _ in range(0, size):

   name = input("Enter a name: ")

   names.append(name)

names.sort()

print(names[0] + " " + names[-1])

Explanation:

* The code is in Python

- Ask the user for the number of the name

- Initialize an empty list that will hold the name entered

- Inside the for loop, get the names and put them in the names array

- When all the names are entered, sort them and print the first and last of the name

You might be interested in
Which topology connects all the computers in a circular pattern
Nimfa-mama [501]
You have to give us the answer options kiddo!
5 0
3 years ago
Read 2 more answers
Which camera options shows time to be slowly
serious [3.7K]

Answer:

.25 speed or slo mo (when recording on phone)

8 0
3 years ago
Use fuel with the _____________ rating recommended by your vehicle manufacturer. A ) Converter B) Emission C) Exhaust D) Octane
Free_Kalibri [48]
I would say the correct answer is "octane". It is important that you use the fuel with  the correct octane rating recommended by the manufacturer. Among the choices it is only octane that is used as a rating for fuels. Hope this helps.
7 0
3 years ago
Read 2 more answers
Which of the following is used to allocate memory for the instance variables of an object of a class?1. the reserved word public
kodGreya [7K]

Answer:

The correct answer to the following question will be 2. the operator new.

Explanation:

New operator is used to allocating the memory to the instance object.The new object can be created by using a "new" keyword in java .

Syntax of using 'new' operator is :

class_name object_name=new class_name() // it allocated the memory to the class

For Example :

ABC obj = new ABC;  

Now, this time obj points to the object of the ABC class.

obj = new ABC ();

call the construction of ABC class

3 0
3 years ago
You are creating a story map about Mexico. After configuring the web app template, you launch the app to test it. When the app o
navik [9.2K]
Nbdjsksjsidjdjwkwejd
3 0
3 years ago
Other questions:
  • R15. Suppose there are three routers between a source host and a destination host. Ignoring fragmentation, an IP datagram sent f
    8·1 answer
  • What does ACCU stand for?
    13·2 answers
  • Explain briefly the purpose of the Computer Management Console in Microsoft Windows.
    12·1 answer
  • You want to change your cell phone plan and call the company to discuss options. This is a typical example of CRM that focuses o
    9·1 answer
  • Which statements about grades are accurate? Check all that apply. Grades help indicate how well a student is understanding a cer
    13·1 answer
  • Create class SavingsAccount. Use a static variable annualInterestRate to store the annual interest rate for all account holders.
    11·1 answer
  • How does one skip videos on edgenuit
    7·1 answer
  • Describe the uses of computer in different fileds? please help me ​
    14·1 answer
  • What is considered an important ethical consideration when working with families
    13·1 answer
  • Anyone know how to do Calculator program in python ?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!