Advertisement
farrismp

Find Largest

Apr 30th, 2019
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. set largest to 0
  2.  
  3. Check each item in list
  4. if value of the item is larger than largest value
  5. set largest value to the value of the item
  6.  
  7. When all items have been checked display the value of largest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement