<snapdata remixID="8939927"><project name="U3L1-brickwall" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAydJREFUeAHt10EupAEUhdFfp41twW5swcBAJJZhO3ZiM6YGzDRmBjq5ye1c0qdmyst75fhC1cnr2+PwIDAS+DW66yyBDwEBCmEqIMApv+MC1MBUQIBTfscFqIGpgACn/I4LUANTAQFO+R0XoAamAgKc8jsuQA1MBQQ45XdcgBqYCghwyu+4ADUwFRDglN9xAWpgKiDAKb/jAtTAVECAU37HBaiBqYAAp/yOC1ADUwEBTvkdF6AGpgICnPI7LkANTAUEOOV3XIAamAoIcMrvuAA1MBUQ4JTfcQFqYCogwCm/4wLUwFRAgFN+xwWogamAAKf8jgtQA1MBAU75HRegBqYCApzyOy5ADUwFBDjld1yAGpgKCHDK77gANTAVEOCU33EBamAqIMApv+MC1MBUQIBTfscFqIGpgACn/I4LUANTgd/T69/4+P39/fH09HRcXFwc5+fn3/iV/uyXdvL69vjZP8K/efXPz8/Hzc3N8fLycjw+Ph5XV1fHO9Xt7e1xenr6b47+h1sF+Jdf+sPDw3F3d3ecnZ19mnqP8/r6+uO5y8vLT9/zRSbgPWDmZbos4C/gF6D+BX8BU35agF+A+hDyBUz5aQGWQa3LBLwHzLxMlwUEWAa1LhMQYOZluiwgwDKodZmAADMv02UBAZZBrcsEBJh5mS4LCLAMal0mIMDMy3RZQIBlUOsyAQFmXqbLAgIsg1qXCQgw8zJdFhBgGdS6TECAmZfpsoAAy6DWZQICzLxMlwUEWAa1LhMQYOZluiwgwDKodZmAADMv02UBAZZBrcsEBJh5mS4LCLAMal0mIMDMy3RZQIBlUOsyAQFmXqbLAgIsg1qXCQgw8zJdFhBgGdS6TECAmZfpsoAAy6DWZQICzLxMlwUEWAa1LhMQYOZluiwgwDKodZmAADMv02UBAZZBrcsEBJh5mS4LCLAMal0mIMDMy3RZQIBlUOsyAQFmXqbLAgIsg1qXCQgw8zJdFhBgGdS6TECAmZfpsoAAy6DWZQICzLxMlwUEWAa1LhMQYOZluiwgwDKodZmAADMv02UBAZZBrcsEBJh5mS4LCLAMal0m8AfANEvVupofOAAAAABJRU5ErkJggg==</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" volume="100" pan="0" lines="round" ternary="false" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMG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DBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/gABHhb3AgAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><sprite name="Sprite" idx="1" x="0" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="8"><costumes><list struct="atomic" id="9"></list></costumes><sounds><list struct="atomic" id="10"></list></sounds><blocks></blocks><variables></variables><scripts><script x="77" y="58"><block s="receiveGo"></block><block s="clear"></block><block s="doSetVar"><l>size</l><l>0</l></block><block s="up"></block><block s="gotoXY"><l>0</l><l>0</l></block><custom-block s="Set Variables"></custom-block><custom-block s="Check Values"></custom-block><block s="doBroadcastAndWait"><l>Start Drawing</l></block></script><script x="302" y="61"><block s="receiveMessage"><l>Start Drawing</l></block><custom-block s="Set Stage"></custom-block><block s="doRepeat"><block var="row of pairs"/><script><custom-block s="Row A"></custom-block><custom-block s="Go to Next Row"></custom-block><custom-block s="Row B"></custom-block><block s="down"></block><custom-block s="Go to Next Row"></custom-block></script></block><block s="doBroadcast"><l>Show Proof</l></block></script></scripts></sprite><watcher var="size" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><watcher var="no of bricks" style="normal" x="10" y="31.000001999999995" color="243,118,29" hidden="true"/><watcher var="row of pairs" style="normal" x="10" y="52.00000399999999" color="243,118,29" hidden="true"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="Set Variables" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>Whats the size?</l></block><block s="doSetVar"><l>size</l><block s="getLastAnswer"></block></block><block s="doAsk"><l>How many in the first row?</l></block><block s="doSetVar"><l>no of bricks</l><block s="getLastAnswer"></block></block><block s="doAsk"><l>How many pairs of rows?</l></block><block s="doSetVar"><l>row of pairs</l><block s="getLastAnswer"></block></block></script></block-definition><block-definition s="Check Values" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportOr"><block s="reportLessThan"><block var="size"/><l>0</l></block><block s="reportEquals"><block var="size"/><l>0</l></block></block><script><block s="doSayFor"><l>invalid input</l><l>2</l></block><block s="doStopThis"><l><option>all</option></l></block></script></block><block s="doIf"><block s="reportOr"><block s="reportLessThan"><block var="no of bricks"/><l>0</l></block><block s="reportEquals"><block var="no of bricks"/><l>0</l></block></block><script><block s="doSayFor"><l>invalid input</l><l>2</l></block><block s="doStopThis"><l><option>all</option></l></block></script></block><block s="doIf"><block s="reportOr"><block s="reportLessThan"><block var="row of pairs"/><l>0</l></block><block s="reportEquals"><block var="row of pairs"/><l>0</l></block></block><script><block s="doSayFor"><l>invalid input</l><l>2</l></block><block s="doStopThis"><l><option>all</option></l></block></script></block></script></block-definition><block-definition s="Set Stage" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="gotoXY"><l>-235</l><l>-170</l></block><block s="down"></block><block s="setColor"><color>145,26,68,1</color></block><block s="setSize"><l>20</l></block></script></block-definition><block-definition s="Row A" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><block var="no of bricks"/><script><block s="down"></block><block s="forward"><block var="size"/></block><block s="up"></block><block s="forward"><block s="reportProduct"><block var="size"/><l>.10</l></block></block></script></block></script></block-definition><block-definition s="Go to Next Row" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="up"></block><block s="gotoXY"><l>-235</l><block s="reportSum"><block s="yPosition"></block><l>30</l></block></block><block s="down"></block></script></block-definition><block-definition s="Row B" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="forward"><block s="reportQuotient"><block var="size"/><l>2</l></block></block><block s="up"></block><block s="forward"><block s="reportQuotient"><block s="reportProduct"><block s="reportProduct"><block var="size"/><l>.10</l></block><block s="reportDifference"><block var="no of bricks"/><l>1</l></block></block><block var="no of bricks"/></block></block><block s="doRepeat"><block s="reportDifference"><block var="no of bricks"/><l>1</l></block><script><block s="down"></block><block s="forward"><block var="size"/></block><block s="up"></block><block s="forward"><block s="reportQuotient"><block s="reportProduct"><block s="reportProduct"><block var="size"/><l>.10</l></block><block s="reportDifference"><block var="no of bricks"/><l>1</l></block></block><block var="no of bricks"/></block></block></script></block><block s="down"></block><block s="forward"><block s="reportQuotient"><block var="size"/><l>2</l></block></block><block s="up"></block></script></block-definition></blocks><variables><variable name="size"><l>0</l></variable><variable name="no of bricks"><l>0</l></variable><variable name="row of pairs"><l>0</l></variable></variables></project><media name="U3L1-brickwall" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>