Hello Computer Science: Flowcharts: Sort 3 numbers using pass by reference

Prepare today for the demands of tomorrow.

hello-world.com
Privacy Policy

Site map

Hello-World

Help Input 3 numbers, instead of using swap, this calls sort using pass by refernce.
The first and second numbers are sorted, then the second and third.
The first and second are then sorted again.
Try to find a set of numbers where the last swap takes place.

Click next to step through the algorithm one step at a time.

>


Copyright © Hello World Publications. All rights reserved worldwide.

hello-world.com
Privacy Policy

Site map

Hello-World