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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
Write a full class definition for a class named player , and containing the following members: a data member name of type string .a data member score of type int .a member function called setname that accepts a parameter and assigns it to name . the function returns no value.a member function called setscore that accepts a parameter and assigns it to score . the function returns no value.a member function called getname that accepts no parameters and returns the value of name .a member function called getscore that accepts no parameters and returns the value of score .this is what i have, aparently this is wrong: class player{private: string name; int score; public: void player: : setname (string n){name =n; }void player: : setscore (int s){score = s; }string player: : getname (){return name; }int player: : getscore (){return score; }};
Answers: 2
question
Computers and Technology, 24.06.2019 16:30
Jenny needs to record the names of 30 students, write down the subjects they studied, and note their grades in each subject after the midsemester exams and the end-of-semester exams. she divides the midsemester and end-of-semester information into two separate worksheets, sheet 1 and sheet 2. how will she rename the two worksheets?
Answers: 2
question
Computers and Technology, 25.06.2019 08:10
Why should the technician watch for signs of contamination in the oil when recovering refrigerant from a system
Answers: 3
question
Computers and Technology, 25.06.2019 11:30
Sophie is using context clues with her new reading assignments. what results should she expect to see? check all that apply. increased reading speed better memorization skills better ability to take tests increased word recall more reading enjoyment
Answers: 3
You know the right answer?
Select the correct answer.
Which logic correctly describes an algorithm to find the smallest o...
Questions
question
Mathematics, 01.06.2021 08:20
question
Mathematics, 01.06.2021 08:20
question
History, 01.06.2021 08:20
question
Mathematics, 01.06.2021 08:20
question
Mathematics, 01.06.2021 08:20
Questions on the website: 13722363