Delete an employee: Enter the employee id to delete this employee, if
the user enters the wrong id print an error message and let him go
back to enter again.

Answers

Answer 1

To delete an employee, you can use the following steps:

Prompt the user to enter the employee id of the employee they want to delete.Retrieve the employee record from the database using the employee id.If the employee id is invalid or the employee record is not found, display an error message and prompt the user to enter the correct employee id.If the employee id is valid and the employee record is found, delete the employee record from the database.

What is the program about?

Below is an example of how this might look in Python:

while True:

 employee_id = input("Enter the employee id: ")

 employee = retrieve_employee(employee_id)

 if employee is None:

   print("Error: Invalid employee id")

 else:

   delete_employee(employee)

   break

Therefore, This code will prompt the user to enter the employee id, retrieve the employee record from the database, and delete the employee if the id is valid. If the id is invalid, it will display an error message and prompt the user to enter the id again. The loop will continue until the user enters a valid employee id or the operation is cancelled.

Learn more about Python from

https://brainly.com/question/26497128
#SPJ1


Related Questions

Which of the following is not an example of a strategy you should use to help your comprehension of the text?
a.
skip confusing sections only
c.
reread
b.
graphic organizers
d.
visualization

Answers

Answer: a

Explanation: because if you do you could do something rong or not understand

Answer:

a

Explanation:


Sydney wants to unify his country.
What does unify mean?
A.
Put it under one government
OB.
Separate it into two major parts
C. Separate it into three parts

Answers

Answer:

A.  Put it under one government.

Explanation:

The word "unify" means to put things together as one entity. This refers to any act of putting two or more things together into a single unit or body.

The statement "Sydney wants to unify his country" means that Sydney wants to bring the different parts of his country under one government. It means he wants his country to be ruled or governed by a single government.

Thus, the correct answer is option A.

why might i want to record events? ​​

Answers

In case something important or bad happens

Limerick of these sentences
My favorite animal's the
I like it because it can
I wish I could have
It would be so much
But my mom no way it's too.

Answers

Answer:

My favorite animal's the hare

I like it because it can hop and scare

I wish I could have one

It would be so much fun

But my mom no way it's too rare

Explanation:


Please help for 100 points
And please no links

Please help for 100 pointsAnd please no links

Answers

1. opinionated

2. Illegible

3. Mediocre

4. Usurp

5. trite

I'm sorry if any of these are wrong

Answer:

Person above should be correct

Explanation:

I checked the answers and I have found no wrong answers as of yet

Need help!!!!!!!!!!!

Need help!!!!!!!!!!!

Answers

5) Ubiquitous. Something that is ubiquitous is something that is simultaneously present everywhere. This can include items that are typical, universal in nature, or a fad.

What is Ubiquitous ?

The word ubiquitous is derived from the noun ubiquity, which means "presence everywhere or in numerous locations at once." Both phrases ultimately come from the Latin word ubique, which means "everywhere."

A more common and well-liked word than ubiquity is ubiquitous, which is sometimes used with a hint of hyperbole to describe those things that appear like you can't spend a day without running into them.

The word omnipresent may not be completely common, but if you keep your eyes and ears open, you're likely to run into it quite a bit.

Answers to other question :

6) innate

7) Benign

8) Embody

9) commensurate

10) infamous

To learn more about Ubiquitous refer :

https://brainly.com/question/10675096

#SPJ1

Use abdicate, belligerent and curmudgeon in a compound sentence

Answers

Usage of abdicate, belligerent and curmudgeon in a compound sentence is given below.

His successor is either nominative by himself, during which case he typically abdicates in his favour, as an alternative nonappointive by the 5 chief mandarins from among the Brah Vansa.

He was belligerent, and once the case visited trial brazenly mocked his prosecuting attorney

When I learned the college curmudgeon would be my instructor, I knew i might be miserable all year.

A compound sentence may be a sentence that connects 2 freelance clauses, usually with a coordinative conjunction like and or however. They are best for combining 2 or a lot of independent and connected sentences into one, unified one.

To learn more about Compound sentence here

brainly.com/question/814779

#SPJ1

Use the following words to create sentences, you have to add a gerund.
For example: I / like / Chinese food = I like EATING Chinese food.
•Federico / likes / Sci-Fi movies.
My dad / likes / rock and roll.
• They / love / cappuccino.
•She / doesn't like / tennis.
• You / hate / parties.

Answers

The construction of the sentences is as follows:

I like eating Chinese food.Federico likes watching Sci-Fi movies.My dad likes listening to rock and roll.They love drinking cappuccinos. She does not like playing tennis.You hate enjoying parties.

What is Gerund?

Gerund may be defined as the noun form of a verb that ends in -ing. It is any of various nonfinite verb forms in various languages; most often, but not exclusively, one that functions as a noun.

A gerund is a verb in its present participle form (root verb + “ing”) that acts as a noun in a sentence. Some examples of gerunds are as follows:

Swimming in the ocean has been Sharon's passion since she was five years old.The ballerina taught us dancing.

Therefore, the construction of the sentences is well described above.

To learn more about Gerunds, refer to the link:

https://brainly.com/question/10546308

#SPJ1

Now Kid
vonn Diagram: New Fla
Jordan Banks in the first half of the novel
Jordan is not happy in going to new school were are only rich
kids and trying to fit in
Similarities
He still does
sports
He wants to go to
art school
·Type
Jordan Banks in the last half of the novel
A
CamScanner

Now Kidvonn Diagram: New FlaJordan Banks in the first half of the novelJordan is not happy in going to

Answers

In the first half of the novel, "New Kid" by Jerry Craft, Jordan Banks is depicted as an unhappy character who is reluctant to attend a new school .One similarity is that Jordan remains passionate about sports throughout the story. He continues to participate in sports activities, which serves as a source of comfort and familiarity for him.

In the first half of the novel, "New Kid" by Jerry Craft, Jordan Banks is depicted as an unhappy character who is reluctant to attend a new school where he feels out of place among wealthy students. He struggles to fit in and adapt to the unfamiliar environment. Despite these challenges, there are still some similarities between the two halves of the novel.

One similarity is that Jordan remains passionate about sports throughout the story. He continues to participate in sports activities, which serves as a source of comfort and familiarity for him. It helps him maintain a sense of identity and provides a connection to his previous school experiences.

Additionally, Jordan's desire to attend art school remains constant. In both halves of the novel, he dreams of pursuing his passion for art and hopes to attend an art school in the future. This goal serves as a driving force for his character development and showcases his determination to follow his interests and talents.

Overall, while Jordan faces new challenges and experiences in the second half of the novel, his core interests and aspirations remain unchanged. This consistency highlights his resilience and determination to stay true to himself despite the obstacles he encounters.

For more such information: novel

https://brainly.com/question/24371255

#SPJ11

“One disadvantage is that it can be crowded. During rush hours, buses and trains are packed with commuters, which leads to less space. Whenever a bus or train brakes suddenly, it can cause passengers to bump into one another.”

Can you show me a proper way to write the paragraph above by using two examples because that is what my instructor told me to do, make sure to use proper punctuation and spelling?

Answers

The supporting material is adequately written, however a few commas would make it more streamlined and encourage better readability.

Where should the commas be used?

Commas should be used at the places mentioned as follows :-

Following the phrase "at rush hour."Following the phrase "commuters."Following the term "suddenly."

By using commas, you allow for more paused reading, ensuring that the reader focuses attention to the most specific primary sentences, increasing the likelihood of a better comprehension of the issue you're discussing.

If the writer offer the paragraph without commas, it is not incorrect and the reader will grasp your content; but, adding commas will make your writing more appealing and professional.

The comma-separated text would be:

"One disadvantage is that it can be crowded. During rush hours, buses and trains are packed with commuters, which leads to less space. Whenever a bus or train brakes suddenly, it can cause passengers to bump into one another."

Learn more about commas here,

brainly.com/question/8995627

#SPJ1

The general rule is that these are made plural by adding s, es. Never ever use an ‘s to make something tomorrow unless absolutely necessary for clarity (as an apostrophe is used for making downs possessive and not plural). Provide 2 examples:

Answers

Move the apostrophe to the end of a plural noun that already includes an s, as in the phrases the dancers' performances or the students' attitudes. The semicolon at the end signifies that there are several students.

In what part of a sentence should you include the apostrophe?

When indicating possession or ownership, the apostrophe should come right after the noun or pronoun that belong to the owner of the referenced individual or thing followed by a "s".

When apostrophe is used?

In languages that utilize the Alphabetic characters and some other alphanumeric characters, the apostrophe serves as an exclamation mark and frequently a diacritical mark. It is also used to designate plurals in a few particular circumstances.

To know more about sentence visit :-

https://brainly.com/question/18728726

#SPJ1

What did this humor show?

Answers

Answer:

The first option: The king is disloyal to the people he needs.

Explanation:

Just got it right!!!!!

Answer:

A

Explanation:

just did it on edge 2020

Plz help just make a nonfiction pyramid!!! Will get more points and brainliest

Answers

Answer:

One word describing one major idea

Two words describing a supporting detail

Three words describing another major idea

Four words describing another supporting detail

Five words describing the author’s purpose

Six words telling what you learned

I'm not sure if this is what you were looking for but I hope it helps

Complete the sentences using the past simple or the past continuous. a. she _______ (wash) her hands, when she _______ (drop) the soap.

Answers

Answer: WAS WASHING, DROPPED

Explanation: In this sentence, the past continuous tense "was washing" is used to indicate an ongoing action ( washing her hand) that was interrupted by another action ( dropping of soap) expressed in the past simple tense.

We use past continuous to describe an ongoing event that was happening in the past at a specific time or over some time. It also provides background information or sets the sense of another action in the past, like in this case.

Simple present describes a past event that interrupts an ongoing action in the past( often used with past continuous), as we see in this case.

To learn more about past tense and its use

https://brainly.com/question/20842173

Can someone tell me what thee answer is, this one is confusing ​

Can someone tell me what thee answer is, this one is confusing

Answers

Answer:

I think it's B

Explanation:

In the central idea it doesn't say anything about the first long lasting light bulb or it's affordability.

I hope this helps! :)

Prompt

When you’re trying to decide your opinion on a topic, brainstorming arguments on each side can help you make an informed decision. Consider this statement: Honesty is the best policy.




List at least three reasons why someone might agree with this statement.

List at least three reasons why someone might disagree with this statement.

Which list of reasons do you find more convincing, and why? Explain whether you agree or disagree with the statement.

Answers

Someone might agree to that because they believe that yes honesty is the best policy because for one, you are not lying to them. You're trusting them with the honset truth. Another reason someone might agree with the statement is that lying is something you will have to keep lying about. If you tell the truth, you'll be able to forget about it after a bit and not keep up an act. The last reason someone might agree is that it's slightly less stressful than lying and you're getting it out and over with.

But Someone might disagree with the statement because The truth can sometimes be harsh and something you don't want to hear. The truth can be used to hurt someone emotionally. The truth can also be a form of black mail.

(hope this helped :)


Explain which culture's values more closely match your
own, and why.

Answers

Answer:

In general, cultures all over the world are similar. Each has its religion, language, tradition, practices, and people. Culture only differs on who, what, why, and how. Although all cultures share the same basic foundation, they differ on questions like Who are their gods. And what are the practices they should follow? What are the cultural distinctions between men and women? And what is the language they use in communication?

As a general rule, societies all around the world are comparable. Each has its religion, language, custom and practices, and individuals.

Congruity and solidarity are highly valued in my culture, keeping serious areas of strength for their local area and family members. A brought-together and reliant local area or family offers a helpful framework that an individual can depend on. Gatherings are many times informed by one family or community of people.

Antonym

21. It seemed to her that he was very DECENT,
A) dishonest
B) be tired of
C) fat
D) handsome
E) Unhealthy

Answers

I think the best answer for this would be E

Can someone help me please?

Can someone help me please?

Answers

Answer:

your answer should be friction.

Writing Practice
Prompt
Passage
The LEGO Movie (2014) User Reviews
Reviewer: Tom Samuels
This movie was not what I expected. I didn't like it at all. I just didn't have a
good time, and I found I was getting annoyed when there were scenes that
weren't animated. I went and got popcorn, and when I got back, I had lost track
of the action. There was not that much to enjoy, honestly. I don't see why so
many people like this movie. I think it's mostly for kids.

Answers

Tom Samuels' review of The LEGO Movie (2014) is not very positive. He found the movie to be annoying and did not enjoy it. He also mentions that there were scenes that were not animated and that he had trouble keeping track of the action. Tom doesn't think the movie is very good and believes it is mostly for kids. Despite the positive reception the movie has received from many other viewers, Tom's experience with it was not positive.

Question 5
1 pts
Our company gave their bonus checks to charity.
The group of musicians played all of its instruments during the concert.
The pod of whales surrounded their prey before attacking.
The band set up all of their instruments before the concert.
Which sentence is grammatically correct?

Answers

Answer:

The pod of whales surrounded their prey before attacking.

Explanation:

A sentence is said to be grammatically correct when it has subject-verb agreement, makes correct use of punctuation and is unambiguous.

With this in mind, the sentence from the given options that is grammatically correct is option C.

This is because it has a clear meaning and obeys all the other rules of grammar while the other options have problems with ambiguity and subject-verb agreement.

Why is the lack of clean water a global issue? I need a good answer!!!

Answers

Answer:

Globally, 844 million people lack access to clean water. Without clean, easily accessible water, families and communities are locked in poverty for generations. Children drop out of school and parents struggle to make a living.

. There is only ____________rubbish in the bin.

a.
many


b.
a few


c.
a little

Answers

Answer:

b

Explanation:

C. a little I think

I hate shopping, ________and or however ________ here I am at the store again.

Answers

Answer:

however

Explanation:

I hate shopping, however here I am at the store again.

Answer:

Explanation:

But, yet

should I tell my parents im adopted

Answers

Yes, they will know more about it and the less that could happen is them being astonished.

Answer:

dang bro you should

Explanation:

Why is the inclusion of the story of Beowulf's
swimming match with Brecca important? How
does this story connect to Beowulf's battle with
Grendel? What are we learning about Beowulf's
character?

Answers

Answer:

1. Because it shows that Beowulf is not perfect, then there is a reason to doubt his ability to beat Grendel.

2. The swimming match makes people doubt that Beowulf will be able to defeat Grendel, since she failed to win a foolish competition.

3. We are learning that Beowulf was indeed a hero, but he had certain limitations, which allows us to also see him as a human being.

Explanation:

Beowulf and Brecca had a silly swimming competition, just to show who was the fastest and best swimmer. Beowulf lost the competition and arrived after Brecca.

This defeat left many people unsure of Beowulf's ability to defeat Grendel. That's because Grendel was a powerful monster, the battle with him would be something serious and impossible to be won by a man who failed to win a swimming competition that had no significance.

This defeat of Beowulf teaches us that despite all the heroism and strength that he possesses, he remains a human being and is liable to fail like anyone else.

I need a detailed stylistics anaheed to this poem please , it’s URGENT!!

I need a detailed stylistics anaheed to this poem please , its URGENT!!

Answers

The poem's stylistic form was critical in conveying the poem's emotions.

What is the stylistic form of the poem?According to the poem, the speaker has lived miserably but has persevered in life despite the numerous challenges and trials she has faced. I could say this because the speaker described life in the poem as somewhat complicated and laborious. Her emphasis on the words "life had tacks, splinters, boards torn up and is bare" from lines 2 to 6 all allude to life's perplexity and complexity.Langston Hughes's 'Mother to Son' uses the metaphor of a staircase to depict the difficulties and dangers that one will face in life.The poem is a mother's warning to her son about the stairs he must climb throughout his life. He must be wary of broken boards, splinters, and tacks.

To learn more about stylistic form refer to :

https://brainly.com/question/15368246

#SPJ1

Which of the following is not an element of fiction addressed on the graphic organizer?
A. theme
B. plot
C. character
D. setting

Answers

Answer: I believe the answr would be (B) plot.

Explanation: I’ve done graphic organizers and I don’t believe I have ever had to Include the plot.

por favor necesito las respuesta
What did she ask Harry to do?

Answers

Translate?
Que le digo a Harry que hiciera ?

Name the five parts of plot.​

Answers

Answer:

Exposition

Rising action

Climax

Falling action

and resolution

Explanation:

Answer:

Exposition (originally called introduction)

Rising action (rise)

Climax.

Falling action (return or fall)

Catastrophe, denouement, resolution, or revelation

Explanation:

Other Questions
As an allied health worker, what should your main role be?direct care of patient.supporting nurses and doctors, and being an advocate for patientstrying to get your doctor or supervisor to work less hoursmaking as much money as possible According to the social contract, what is the source of government's legitimacy?a. Government's authority over its subjectsb. The divine right of kingsc. The government's control of all propertyd. Citizen consente. The Catholic Church Which war had recently ended at the start of the 1920s? 710 divided by 9what is the answer please help Suppose there are 16 students in your class. If the teacher draws 2 names at random, what is the probability that you and your best friend will be chosen?1/151/1201/83/31 In order to prevent a mass erosion event, like we experienced in 1930's Dust Bowl event, which of the following should farmers do?A. remove worms, ants, and other organisms that live in the soilB. keep the land irrigatedC. remove native grassesD. plant the same crops from year to year to acclimate the soil Describe the major battles and results in the European theater of World War II. Which excerpt from Beowulf best supports the answer to Part A? Los criollos eran los descendientes de ______________.a. indgenasB. espaolesc. mestizos d. pardos What is the value of for this aqueous reaction at 298 k? a bc d=20. 46 kj/mol You are doing chores to earn your allowance. For each chore you do, you earn $3. What is the independent variable? A. The amount of allowance ($3)B. The amount of chores you doC. The amount of allowance and the amount of chores what information comes out when lady bracknell starts questioning jack about his background to see if he will be a suitable suitor for gwendolen? Consider an organism that has three pairs of chromosomes, AaBbCc in it's diploid cells. How many genotypically different kinds of haploid cells can it produce.a. 4b. 8c. 16d. 32 Determine the value of y, if x is -7 y=x-5 Difference between relevant information and additional information What might happen if 490 g of sugar is dissolved in water at 100C and then the water cools to 20C? the icd-11 core development group was comprised of What is the difference in unit price between a 5 gallon bucket of paint for $97.45 and a 1 gallon bucket of paint for $21.95? what is a requirement under the immigration reform and control act of 1986? what is a requirement under the immigration reform and control act of 1986? employers must pay lower wages to immigrant workers. employers must verify and maintain records on the legal rights of applicants to work in the united states. employers must ask a potential employee's religion. employers must verify the legal age of employees who do not hold american citizenship. employers must file a completed form i-9 with the immigration and naturalization service and retain the documents for at least ten years. an open market purchase by the fed group of answer choices decreases the demand for money. increases the demand for money. increases the supply of money. decreases the supply of money.