ScratchData LogoScratchData
Back to gtoal's profile

Large integer addition example for sithsiri

GTgtoal•Created February 13, 2016
Large integer addition example for sithsiri
7
5
251 views
View on Scratch

Instructions

This uses strings instead of numbers (join the result of 'ask' with a null string to force the result into a string rather than an integer) and adds the digits in the strings starting at the right hand side and working left. No checking is done for a valid input number so code carefully until you add that!

Description

See discussion at https://scratch.mit.edu/discuss/topic/182842/

Project Details

Project ID97834341
CreatedFebruary 13, 2016
Last ModifiedFebruary 14, 2016
SharedFebruary 13, 2016
Visibilityvisible
CommentsAllowed