ScratchData LogoScratchData
Back to RGCreeper's profile

Calculate Prime numbers

RGRGCreeper•Created March 7, 2020
Calculate Prime numbers
0
0
1 views
View on Scratch

Instructions

The first input MUST BE A POSITIVE INTEGER (whole number higher than 0) once the program has finished calculating the prime numbers for you, you can right click the list and export it to a .txt file to keep.

Description

calculate prime numbers like this if the number you are checking, when divided by 2, is a whole number, it isn't prime. if it is still a prime number, divide it by every other prime number that is smaller than it until it is a whole number. if it still isn't a whole number, then it is prime and you should add it to the list.

Project Details

Project ID374428633
CreatedMarch 7, 2020
Last ModifiedMarch 8, 2020
SharedMarch 7, 2020
Visibilityvisible
CommentsAllowed