Which logic correctly describes an algorithm to find the smallest of the three numbers a, b, and c and store the smallest number in small?

A.
If a is less than b, then set a to small, else set b to small, else set c to small.
B.
If a is less than b, then set small to a, else set small to b.
If c is less than small, then set small to c.
C.
If a is less than b, then set small to b, else set small to c.
If c is less than small, then set small to a.
D.
If a is less than small, then set small to a.
If b is less than small, then set small to b.
If c is less than small, then set small to c.

Answers

Answer 1

Answer:

D

Explanation:

Answer 2

Answer:

B. If a is less than b, then set small to a, else set small to b.

If c is less than small, then set small to

Explanation:

Plato correct!!


Related Questions

How do I do these? I dont understand.

Answers

I don’t understand either, I would suggest contacting your teacher or maybe searching up videos or tutorials on how to solve such a problem.

PLzzzzzz help me!! I will mark brainiest to the one who answers it right!!
Answer it quickly!!

Write a pseudo code for an algorithm to center a title in a word processor.

Answers

Answer: abstract algebra

Explanation: start with the algorithm you are using, and phrase it using words that are easily transcribed into computer instructions.

Indent when you are enclosing instructions within a loop or a conditional clause. ...

Avoid words associated with a certain kind of computer language.

Answer:

(Answers may vary.)

Open the document using word processing software.

In the document, select the title that you want to center. The selected word is highlighted.

On the Menu bar, select the Format tab.

In the Format menu, select Paragraph.

The Paragraph dialog box opens with two sub tabs: Indents and Spacing, and Page and Line Breaks. The first tab is selected by default.

Adjust the indentation for the left and right side. Ensure that both sides are equal.

Preview the change at the bottom of the dialog box.

Click OK if correct, otherwise click Cancel to undo changes.

If you clicked OK, the title is now centered.

If you clicked Cancel, the title will remain as it is.

Explanation:

I took the unit activity

Which of the following would be appropriate to create using the CMYK color model?

Select all that apply.

a printed takeout menu a printed takeout menu , ,

a photography blog a photography blog , ,

a tri-fold brochure a tri-fold brochure , ,

a mobile app logo

Answers

Answer:

B, and C

Explanation:

they look like the only two answers that make sence

Other Questions
A plumber charges $50 to make a house call. He also charges $25 per hour for labor. If the bill from the plumber is $162.50.How many hours did the plumber work at your house? which equation represents a proportional relationship? what information can you figure out about an atom using only the atomic number? The "donkey" and the "elephant" represent which of these? What forms when two convergent oceanic-continental plates interact?pls help this is timed Why was the church the most important building in the mission? Hello, I kinda need help on this. This is my last thing to do for the day. So pls help and ty, have a wonderful day. im giving out the rest of my points for this one bois- Impact of climate change on ecosystems what is fertilization? Which of the following is where the zapotec were located?A. There zapotec where located far north into mexicoB. The zapotec where located in the southern part of of modern mexicoC. The zapotec were located on the eastern side of ancient mexico D.the zapotec were spread throught mexico Which two sentences best define mood in literature? Make a list of any five works that you do at your home.I help my mother in the kitchen. Read the passage. What is a similarity between the narrator and her best friend, Karen?Karen and I had been best friends since first grade. But I was a little jealous of her. Karen always seemed smarter and prettier than everyone. One day, we both put our names in for a dance contest. I practiced hard for weeks. I wanted to win the dance contest and beat Karen. On the day of the contest, I went on stage. I danced like Id never danced in my life. The crowd clapped loudly. Then it was Karens turn. She missed some steps and even lost her balance at one point. I knew something was wrongKaren was no klutz. I ended up winning the contest, but that didnt even matter to me anymore. After the contest, I ran to Karen and asked her what was wrong. Karen told me that she had been dancing with a sprained ankle. I asked her why she did it. Karen looked ashamed. Then she said, Because I wanted to beat you and prove that Im just as good as you! I was shocked. Here I was so jealous of her, and she wanted to beat me so badly that she went on stage with a sprained ankle!A. Karen and the narrator both enter the contest for fun.B. Karen and the narrator both deal with jealousy.C. Karen and the narrator are both trained dancers.D. Karen and the narrator both have sprained ankles.E. Karen and the narrator are both tennis champions. Which of the following would best complete the diagram?A. Kentucky-Virginia ResolutionsB. U.S. ConstitutionC. Alien & Sedition ActsD. Declaration of Independence Work out the length x pls Why Did Racial Violence Erupt in the 1920s? 7 Given: -8(w + 1) = -5(w + 10); Prove: w = 14Statements how did Mr sakota find out who the woman wasl? Who wrote the Canterbury Tales?A. Aquinas B. Chaucer C. Mark Twain what is (40x33)+(4)x4??Good luck