logo

Crowdly

CT2: Computational Thinking Checkpoint 2 - Maximum of a Set of Numbers If you ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

CT2: Computational Thinking Checkpoint 2 - Maximum of a Set of Numbers

If you have the ability to compare two numbers and say which one is bigger, how do you find the maximum of a set of three numbers?

Write a flow chart, and some pseudo code, giving an algorithm for finding the larger of three given numbers.

Can you extend your algorithm to work for a set of four numbers, and a set of five?

Can you give a flowchart and pseudo code that works for a set of any size?

Write or upload your answers below. You can produce a flowchart using any software, or by photographing a handwritten page.

More questions like this

Want instant access to all verified answers on moodle.royalholloway.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!