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
Vedmedyk [2.9K]
3 years ago
6

Write a program that asks the user how many names they have. (If they have a first name, two middle names, and a last name, for

example, they would type 4.) Then, using a for loop, ask the user for each of their names. Finally, print their full name.
Computers and Technology
1 answer:
tankabanditka [31]3 years ago
5 0

Answer:

The solution is implemented in python:

numnames = int(input("Number of Names: "))

nametitle = ["Surname: ","Firstname: ","Middlename: ","Middlename 2: "]

names = []

for i in range(numnames):

   name = input(nametitle[i])

   names.append(name)

   

print("Your fullname is: ",end=" ")

for i in names:

   print(i,end=" ")

Explanation:

This prompts user for number of names

numnames = int(input("Number of Names: "))

This lists the name titles in a list

nametitle = ["Surname: ","Firstname: ","Middlename: ","Middlename 2: "]

This initializes an empty list

names = []

The following for loop get names from the user

<em>for i in range(numnames):</em>

<em>    name = input(nametitle[i])</em>

<em>    names.append(name)</em>

   

The following instructions print the user fullnames

<em>print("Your fullname is: ",end=" ")</em>

<em>for i in names:</em>

<em>    print(i,end=" ")</em>

You might be interested in
Do software engineers save millions of dollars in usa
SCORPION-xisa [38]
Yes. They make a lot of money. So eventually after saving your Money, you will make a least 1 million dollars or more.
4 0
3 years ago
When was third battle of Panipat fought​
enyata [817]

Answer:

January 14, 1761

Explanation:

6 0
3 years ago
20. Which of the following describes an acceptable print resolution?
vodka [1.7K]
The correction is C.
One of the major factors that determine the quality of a printer is the resolution of that printer. The resolution is also called DPI [Dots Per Inch]. The DPI refers to amount of ink that an inkjet printer can place in a one inch line of a printed document. The higher the DPI of a printer, the higher the resolution.
6 0
3 years ago
Read 2 more answers
Explain briefly about two online reservation system
Rus_ich [418]

Answer:

An Online Reservation System is a software you can use for managing reservations for your service. ... Basically, an online reservation system allows a potential customer to book and pay for a service directly through a website.

Explanation:

An Online Reservation System is a software you can use for managing reservations for your service. Be it a pool, fitness center, gym, yoga studio, or a parks & recreation center an Online Reservation System allows all kinds of service businesses to accept bookings and appointments online and manage their phone and in-person bookings with ease.

Basically, an online reservation system allows a potential customer to book and pay for a service directly through a website. That means from the moment a customer decides they want to book a slot for your service (be it an in-house class or online appointment) to choosing a date, picking a time, and paying for the booking, membership management, everything is handled online! It greatly reduces the workload on your staff and removes the opportunity for double-bookings.

hope it helps

3 0
3 years ago
Read 2 more answers
Jenny’s needs to buy a computer to create word documents, make presentations, listen to music, and watch movies and videos. Whic
asambeis [7]

Answer:

Windows

Explanation:

The operating system that would be appropiate for Jenny's personal computer is Windows as it is easy to use, the software and programs she is going to need are easily available to install in this operating system and it allows people to interact with it through keyboard and mouse.

6 0
4 years ago
Other questions:
  • Any method of determining whether an event or object is older or younger than others
    13·2 answers
  • One cost of starting your own business is _____.
    12·1 answer
  • When you receive five job offers what does it mean
    9·1 answer
  • Assuming x and y are variables of type float, the expression:
    6·1 answer
  • What is the difference between a switch and a hub?
    8·1 answer
  • In Java. Write a program that creates an integer array with 50 random values, prompts the user to enter the index of an element
    5·1 answer
  • Where does the list of incoming mail appear in gmail
    13·2 answers
  • How exactly do you find the circumference by using C++ Programming? I really need a specific answer.
    14·1 answer
  • Choosing a per_formatted presentation that already has a design and the slots is called choosing What​
    8·1 answer
  • Select the correct answer.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!