Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Computing averages
Old
beeker1076
Guest
 
Status:
Posts: n/a
Unhappy Computing averages - 10-07-2008, 03:12 AM

I'm working with the book alice in action with java and in chapter 4 there is an exercise that you need to calculate the average of user entered values. For the life of me I cannot remember how to get a for loop in my world events. Can someone please help me out with figuring this out? I know i'll need 4 variables but I can't get to that part without the for loop. HELP!!
   
Reply With Quote
Old
DickBaldwin
Guest
 
Status:
Posts: n/a
Default 10-07-2008, 07:38 AM

Quote:
Originally Posted by beeker1076 View Post
I'm working with the book alice in action with java and in chapter 4 there is an exercise that you need to calculate the average of user entered values. For the life of me I cannot remember how to get a for loop in my world events. Can someone please help me out with figuring this out? I know i'll need 4 variables but I can't get to that part without the for loop. HELP!!
See http://www.alice.org/community/showthread.php?p=6977

Dick Baldwin
Free Alice tutorials: http://www.dickbaldwin.com/tocalice.htm
Free Scratch tutorials: http://www.dickbaldwin.com/tocHomeSchool.htm
Free Java/C#, etc. tutorials: http://www.dickbaldwin.com/toc.htm
   
Reply With Quote
Reply

Tags
for loop

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.