Dagda

answers: 1

Register to add an answer

Answer:

Algorithm to find the minimum and the maximum of two numbers a and b:

If a≤b, then the minimum is a and the maximum is b.

If a≥b, then the minimum is b and the maximum is a.

You’ll notice that if a=b, then both of these clauses are valid, which is fine, because then the minimum equals the maximum equals a equals b.

hope it helps

thank you

417

Michelle

For answers need to register.

274

cents

The time for answering the question is over

Contacts

mail@expertinstudy.com

Feedback

Expert in study

About us

For new users

For new experts

Terms and Conditions