subject

Select the correct answer.
Which logic correctly describes an algorithm to find the smallest of the three numbers a, b, and cand store the smallest number in small?
A
lfa is less than b, then set a to small else set b to small, else set to small
B.
Ifa is less than b, then set small to a, else set small to b.
If c is less than small, then set small toc
Ifa is less than b, then set small to b, else set small toc
if c is less than small, then set small to a
D.
Ifa 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 toc

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 09:30, shadowsnake
Write a function called checkfactor that takes two arrays of positive numbers, firstnumberrow and secondnumberrow. checkfactor checks if the first entry in firstnumberrow is divisible by the first entry in secondnumberrow, and performs the same operation on the next array elements until all entries have been checked. all the numbers are positive and the number of entries in the arrays are the same. the function should return the identified divisible numbers in two row arrays named firstdivisible and seconddivisible. restrictions: branches or loops should not be used. the code must use the internal mod and logical functions. hint: the mod function should be used to determine if two numbers are divisible. ex: for num1 and num2 if mod(num1,num2) is 0, then the two numbers are divisible. this is matlab
Answers: 2
image
Computers and Technology, 25.06.2019 03:40, NBASTARK4523
Acurrent vehicle registration expires at of the first owner listed on the registration form. a. stretch and flex b. bend and break c. wear down d. bounce around
Answers: 1
image
Computers and Technology, 25.06.2019 04:30, richtercatrina16
He 98 pointsss how has computers changed over the years? how can they be used now? give details and such!
Answers: 1
image
Computers and Technology, 25.06.2019 13:00, Mikkixo3114
Which color produces a calming effect on the mind a. pink b. blue c. red d. white e. green
Answers: 1
You know the right answer?
Select the correct answer.
Which logic correctly describes an algorithm to find the smallest o...

Questions in other subjects:

Konu
Arts, 27.04.2020 01:35
Konu
Spanish, 27.04.2020 01:35