Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set largest to 0
- Check each item in list
- if value of the item is larger than largest value
- set largest value to the value of the item
- When all items have been checked display the value of largest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement