Multiple Approaches to find the largest of 3 numbers. – (Form 5 Opt E) 2025-10-29_09-32-41

Unfortunately, The audio did not record in this video, I am posting this for the purpose of review for the following class exercise:

  1. Write a pseudocode algorithm which accepts three integers and outputs the largest.
  2. Write a pseudocode algorithm which accepts two numbers x and y and swaps the values using a temporary variable.
  3. Create a pseudocode algorithm that accepts two integers and swaps their values without the use of a temporary variable.

Files used in part 1 can be downloaded here: https://drive.google.com/drive/folders/1UPV7cZM5_Oc1oLboxeSrn9K8qV7KBulk?usp=sharing

© 2025  Vedesh Kungebeharry. All rights reserved. 

Leave a comment