Alice Community Computing averages
 User Name Remember Me? Password

 Thread Tools Display Modes
 Computing averages
 beeker1076 Guest   Status: Posts: n/a 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!!
DickBaldwin
Guest

Status:
Posts: n/a
10-07-2008, 07:38 AM

Quote:
 Originally Posted by beeker1076 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!!

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

 Tags for loop

 Thread Tools Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge