This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-05-22 17:46:45

Doraemon831
Scratcher
Registered: 2008-04-21
Posts: 7

Numbers

i was wondering if there was anyway to make odd numbers something and even numbers, if you get wat i'm saying

Offline

 

#2 2008-05-22 18:16:30

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Numbers

Sorry, no I don't.  Can you describe in more detail what it is you are trying to do?


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2008-05-22 18:26:55

Cyclone103
Scratcher
Registered: 2008-03-20
Posts: 500+

Re: Numbers

Well, you could do _____mod 2, and if ______mod 2 =1 it is automatically an odd number. The mod block is used to find remainders. I think I will make a project about this right now. I will post a link when I am done.


All your base are belong to us

Offline

 

#4 2008-05-22 18:32:39

Cyclone103
Scratcher
Registered: 2008-03-20
Posts: 500+

Re: Numbers

Ok, here it is. It only took a few seconds. http://scratch.mit.edu/projects/Cyclone103/170519 Hope this helps!!!!!!!!!


All your base are belong to us

Offline

 

#5 2008-05-26 20:31:34

Doraemon831
Scratcher
Registered: 2008-04-21
Posts: 7

Re: Numbers

wow! great cyclone103! thx for the help!

Offline

 

Board footer