<snapdata remixID="9320587"><project name="Area and Perimeter calculator" app="Snap! 5.4, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAABXlJREFUeAHtnUFrXFUUgM+bSWZIKgVXlWIxHcnGvetgFy66sCRUScBF0J0u/Q/OL1AQFIKLGEHIIpvSneBC/QFV0EkWjZqKlhLSZtK087znmRfmMfOaeHrgCPPdMHnz7rvnnOTLx33vThY3y1MTGgSCCDSC6lIWAgUBBESEUAIIGIqf4giIA6EEEDAUP8UREAdCCSBgKH6KIyAOhBJAwFD8FEdAHAglgICh+CmOgDgQSgABQ/FTHAFxIJQAAobipzgC4kAoAQQMxU9xBMSBUAIIGIqf4giIA6EEEDAUP8UREAdCCSBgKH6KIyAOhBJAwFD8FEdAHAglgICh+CmOgDgQSgABQ/FTHAFxIJQAAobipzgC4kAoAQQMxU9xBMSBUAIIGIqf4giIA6EEEDAUP8UREAdCCSBgKH6KIyAOhBJAwFD8FEdAHAglgICh+CmOgDgQSgABQ/FTHAFxIJQAAobipzgC4kAoAQQMxU9xBMSBUAIIGIqf4giIA6EEEDAUP8UREAdCCSBgKH6KIyAOhBJAwBr8c3Nzsr6+Lnme14yg24NAlgBDuIbk0tLSqYC9Xk82Nzel0+lIlmU1EXT/VwIIeAaxxcXFkREqYL/fl62tLWk2myPX6Tg/AW7B52dVGakSNhrgq0AxnEwZYiYmRG/BZdve3j69BZd9HJ+fAALWMNRFSLfblZWVlZoRdHsQ4BnQgyI5zAR4iDGjI9CDAAJ6UCSHmQACmtER6EEAAT0oksNMAAHN6Aj0IICAHhTJYSaAgGZ0BHoQQEAPiuQwE0BAMzoCPQggoAdFcpgJIKAZHYEeBBDQgyI5zAQQ0IyOQA8CCOhBkRxmAghoRkegBwEE9KBIDjMBBDSjI9CDAAJ6UCSHmQACmtER6EEAAT0oksNMAAHN6Aj0IICAHhTJYSaAgGZ0BHoQQEAPiuQwE0BAMzoCPQggoAdFcpgJIKAZHYEeBBDQgyI5zAQQ0IyOQA8CCOhBkRxmAghoRkegBwEE9KBIDjMBBDSjI9CDAAJ6UCSHmQACmtER6EEAAT0oksNMAAHN6Aj0IICAHhTJYSaAgGZ0BHoQQEAPiuQwE0BAMzoCPQiM3apr//FAfrx3JA+OnnrUIMeEE3ix3ZTXL7XlYmt0vhsRcLP3UN65tScNtsSdcG18f/1B2pX6m+svyY2rFyqJK3vF6c7VrU96cvzhq5VBnEDAg8D0GLcqc+JH3/0lt29c9qhFjgkkkOe5DAaDykv7ynbrrcuijg23yi3494dP5Y2XZ4rrP935WQ77j4r3bFE/jIz3SkCdmJ6elpmZGelc7Uievv6+f18eHRyIPr81BpnkWS6Pj49ld3dXFhYWCrc+v7NfAVgRcPhKng2K03a7LVNTU+wOPgyH9wWBZrMprVYr2SiSp4e8/uGBHD95MkJndXVVdnZ2Rvq1o1ZANVzFm52dFZWQ7enH8pvoTnVk2ItBmvXKtry8LBsbG+Vp7bFWwDSjihqu06xaPlyoNhsXJpvAiX/z8/Py2a/9NC3ePZPHMwTMCwFVPDVdXzQIPIvAQD9rSe3jbleunUM+HVtZBWtH2QZJuHLmQ76SCsdxBMp1bvPk4ts3b44bNravdgZ85coVufDCbHq+1JlPX2mJnV5ZfjIb5mmRkjXSw2dx0Dt2GpK+62xZnP07Y+rqqMhxcq0cMzREIytNc2mO01jqJyL/Y/7610t/9wf7+/Ln3p7kxSo4/cRJgbu/7cra2pqOGNsqH0R/kZbI3+4eypdvXho7mE4IPA+Bd2/fk2vpY773Xrt4mqZyC34/XfjqlwP5YS89QNIg4Ejg+z/68nVya1g+TV+ZAct6rU97OuPTIOBGQNewRx+M/ot3rIBuVUkEgTMI/APJmTuyolIaFAAAAABJRU5ErkJggg==</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="false" codify="false" inheritance="true" sublistIDs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GDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/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="276" y="443"><custom-block s="perimeter and area for triangle"></custom-block></script><script x="311" y="542"><custom-block s="rectangle area and perimeter"></custom-block></script><script x="168" y="339"><custom-block s="Collect dimensions triangle"></custom-block></script><script x="110" y="114"><block s="receiveGo"></block><custom-block s="find values for rectangle or triangle"></custom-block></script></scripts></sprite><watcher var="rectangle width" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><watcher var="rectangle length" style="normal" x="10" y="31.000001999999995" color="243,118,29" hidden="true"/><watcher var="triangle base" style="normal" x="10" y="52.00000399999999" color="243,118,29" hidden="true"/><watcher var="triangle height" style="normal" x="10" y="73.00000599999998" color="243,118,29" hidden="true"/><watcher var="triangle hypotenuse" style="normal" x="10" y="94.00000799999998" color="243,118,29" hidden="true"/><watcher var="triangle perimeter" style="normal" x="10" y="115.00000999999997" color="243,118,29" hidden="true"/><watcher var="triangle area" style="normal" x="10" y="136.00001199999997" color="243,118,29" hidden="true"/><watcher var="rectangle area" style="normal" x="10" y="157.00001399999996" color="243,118,29" hidden="true"/><watcher var="rectangle perimeter" style="normal" x="10" y="178.00001599999996" color="243,118,29" hidden="true"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="find values for rectangle or triangle" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>do you want to work with rectangles or triangles?</l></block><block s="doIfElse"><block s="reportEquals"><block s="getLastAnswer"></block><l>triangles</l></block><script><custom-block s="Collect dimensions triangle"></custom-block><custom-block s="perimeter and area for triangle"></custom-block></script><script><custom-block s="collect dimensions rectangle"></custom-block><custom-block s="rectangle area and perimeter"></custom-block></script></block></script></block-definition><block-definition s="Collect dimensions triangle" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>triangle base</l><l>0</l></block><block s="doAsk"><l>what is the base of your triangle?</l></block><block s="doSetVar"><l>triangle base</l><block s="getLastAnswer"></block></block><block s="doSetVar"><l>triangle height</l><l>0</l></block><block s="doAsk"><l>what is the height of your triangle?</l></block><block s="doSetVar"><l>triangle height</l><block s="getLastAnswer"></block></block><block s="doSetVar"><l>triangle hypotenuse</l><l>0</l></block><block s="doAsk"><l>whats your triangle hypotenuse</l></block><block s="doSetVar"><l>triangle hypotenuse</l><block s="getLastAnswer"></block></block></script></block-definition><block-definition s="perimeter and area for triangle" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>triangle perimeter</l><block s="reportSum"><block var="triangle base"/><block s="reportSum"><block var="triangle height"/><block var="triangle hypotenuse"/></block></block></block><block s="doSetVar"><l>triangle area</l><block s="reportProduct"><l>0.5</l><block s="reportProduct"><block var="triangle base"/><block var="triangle height"/></block></block></block><block s="doSayFor"><block s="reportJoinWords"><list><l>the area of your triangle is</l><block var="triangle area"/><l>the perimeter of your triangle is</l><block var="triangle perimeter"/></list></block><l>10</l></block></script></block-definition><block-definition s="rectangle area and perimeter" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>rectangle area</l><block s="reportProduct"><block var="rectangle length"/><block var="rectangle width"/></block></block><block s="doSetVar"><l>rectangle perimeter</l><block s="reportSum"><block s="reportProduct"><block var="rectangle width"/><l>2</l></block><block s="reportProduct"><block var="rectangle length"/><l>2</l></block></block></block><block s="doSayFor"><block s="reportJoinWords"><list><l>the area of the rectangle is </l><block var="rectangle area"/><l>the perimeter of your rectangle is </l><block var="rectangle perimeter"/></list></block><l>10</l></block></script></block-definition><block-definition s="collect dimensions rectangle" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>rectangle length</l><l>0</l></block><block s="doAsk"><l>what is the length of the rectangle?</l></block><block s="doSetVar"><l>rectangle length</l><block s="getLastAnswer"></block></block><block s="doSetVar"><l>rectangle width</l><l>0</l></block><block s="doAsk"><l>what is the rectangle width?</l></block><block s="doSetVar"><l>rectangle width</l><block s="getLastAnswer"></block></block></script></block-definition><block-definition s="rectangle or triangle" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><block s="reportOr"><block s="reportEquals"><block s="getLastAnswer"></block><l>No</l></block><block s="reportEquals"><block s="getLastAnswer"></block><l>No </l></block></block><script><block s="doAsk"><l>Do you want to work with triangles or rectangles?</l></block><block s="doIf"><block s="reportOr"><block s="reportEquals"><block s="getLastAnswer"></block><l>Rectangle</l></block><block s="reportOr"><block s="reportEquals"><block s="getLastAnswer"></block><l>rectangle</l></block><block s="reportOr"><block s="reportEquals"><block s="getLastAnswer"></block><l>rectangle</l></block><block s="reportEquals"><block s="getLastAnswer"></block><l>rectangles</l></block></block></block></block><script><custom-block s="collect dimensions rectangle"></custom-block><custom-block s="rectangle area and perimeter"></custom-block></script></block><block s="doIf"><block s="reportOr"><block s="reportEquals"><block s="getLastAnswer"></block><l>Triangle </l></block><block s="reportOr"><block s="reportEquals"><block s="getLastAnswer"></block><l>Triangle</l></block><block s="reportOr"><block s="reportEquals"><block s="getLastAnswer"></block><l>Triangle</l></block><block s="reportEquals"><block s="getLastAnswer"></block><l>Triangle</l></block></block></block></block><script><custom-block s="Collect dimensions triangle"></custom-block><custom-block s="perimeter and area for triangle"></custom-block></script></block></script></block></script></block-definition></blocks><variables><variable name="rectangle width"><l>0</l></variable><variable name="rectangle length"><l>0</l></variable><variable name="triangle base"><l>0</l></variable><variable name="triangle height"><l>0</l></variable><variable name="triangle hypotenuse"><l>0</l></variable><variable name="triangle perimeter"><l>0</l></variable><variable name="triangle area"><l>0</l></variable><variable name="rectangle area"><l>0</l></variable><variable name="rectangle perimeter"><l>0</l></variable></variables></project><media name="Area and Perimeter calculator" app="Snap! 5.4, http://snap.berkeley.edu" version="1"></media></snapdata>