File:Find the largest number in a list of number using scratch.png

Original file(1,608 × 1,320 pixels, file size: 267 KB, MIME type: image/png)

Summary

Description
English: This stack of blocks scratch finds the largest number in a list of numbers.
Date
Source This file was derived from: Find the largest number in a list of number using scratch.jpg
Author User:Lubaochuan

scratchblocks source code:

set [max v] to (item (1 v) of [list v])
set [index v] to [0]
repeat (length of [list v])
 if <(max) < (item (index) of [list v])> then
  set [max v] to (item (index) of [list v])
 end
 change [index v] by (1)
end
say (max) for (2) secs

Licensing

This image or video file represents content which has appeared on the Scratch programming language website (https://scratch.mit.edu/). According to the terms of use in sections 4 to 5 for that website, all content added and support materials are available under the terms of the Creative Commons Attribution-ShareAlike 2.0 Generic license, with the exception of third-party copyrighted materials that was not made by the user and Scratch trademarks (including the Scratch Cat and Gobo characters). This image is being used in accordance with those terms of use on Wikimedia Commons.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

21 July 2014

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current16:12, 17 October 2023Thumbnail for version as of 16:12, 17 October 20231,608 × 1,320 (267 KB)SergioFLSUploaded a work by User:Lubaochuan from {{Derived from|Find the largest number in a list of number using scratch.jpg}} with UploadWizard