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

#1 2012-03-04 09:42:14

tommyying
New Scratcher
Registered: 2012-03-04
Posts: 3

Need your Help Please, I'm a new learner.

I have a question:
Write a Scratch script to input a list of number one by one. The input should end by entering the word "done". Then, find out and display (by "say") the sum of all even numbers in the input list and also the sum of all odd numbers in the input list. (Note, the user should enter the list of numbers only once and your program should able to find out the required two pieces of information).

I can't show the even number and odd number and there is some bug when I add all the number too  sad  I know it's simple but I'm stupid Pls write a sample to me. Thx for your help!

Offline

 

#2 2012-03-04 13:43:35

funelephant
Scratcher
Registered: 2010-07-02
Posts: 1000+

Re: Need your Help Please, I'm a new learner.

Please stop posting this everywhere because it doesn't belong.


nicki begs to differ
http://24.media.tumblr.com/ab0e6e8fd347c5e39c2821bcab9d16e6/tumblr_mgu35sui1L1rfb7aqo2_500.gif

Offline

 

#3 2012-03-04 15:37:00

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

Re: Need your Help Please, I'm a new learner.

I don't really know what you want. Also, this should be under help with scripts. I'll tell them to put it there.  wink


http://www.blocks.scratchr.org/API.php?action=text&string=I'm_on_vacation!&xpos=155&ypos=90&font_size=30&bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

#4 2012-03-04 15:53:09

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

Re: Need your Help Please, I'm a new learner.

Please only post your topic once.  It was moved to the Help with Scripts area because that was the best fit for it.  It's right here:

http://scratch.mit.edu/forums/viewtopic.php?id=91488


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

Offline

 

Board footer