ScratchData LogoScratchData
Back to SeptaMan12's profile

Factors Finder

SESeptaMan12•Created November 9, 2013
Factors Finder
2
2
345 views
View on Scratch

Instructions

SEPTAMAN12: ALL RIGHTS RESERVED This project will find all the factors of a certain number. It is based on my original Javascript program which goes like this: function go() { document.f1.factors.value=null; var num=document.f1.num.value; for (var i=0;i<=num;i++) { if (num%i==0) { document.f1.factors.value += i + " "}}}

Description

Run in turbo mode. Just a short program on the side. Took me about 3 minutes to make. This project will be very helpful for homework purposes! :D Please have a look at my other projects. It means a lot to me when you click that love/fave button! Update Log 15/12/13 8:45 - speed improvements: loops till half of n, then adds n to the list

Project Details

Project ID14091967
CreatedNovember 9, 2013
Last ModifiedFebruary 15, 2016
SharedNovember 9, 2013
Visibilityvisible
CommentsAllowed