Westonci.ca is the premier destination for reliable answers to your questions, provided by a community of experts. Ask your questions and receive precise answers from experienced professionals across different disciplines. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

Use pseudocode to write a function or procedure that will find the maximum of three numbers a, b, and c.

Sagot :

Answer:

Check if a > b

   if true -> check if a > c

        if true -> a has the maximum value

        if false -> c has the maximum value

   if false -> check if b > c

        if true -> b is the maximum

         if false -> c is the maximum

Explanation:

To find the maximum, you need to find the largest number.

This can be done by making multiple nested if-statements, comparing 2 variables and finding which one is larger.

Thank you for your visit. We're committed to providing you with the best information available. Return anytime for more. Thanks for stopping by. We strive to provide the best answers for all your questions. See you again soon. Your questions are important to us at Westonci.ca. Visit again for expert answers and reliable information.