Exercise 79: NumberStatistics(1)

289 views
Skip to first unread message

andrewh...@gmail.com

unread,
Jul 4, 2015, 6:55:49 PM7/4/15
to moo...@googlegroups.com
Hi,

I'm having problems with week 4 exercise 79.
I am unable to structure the methods correctly - I keep receiving an error that only the amount and sum of numbers needs to be initialized at the beginning; however I cannot place variables amountOfNumbers or number anywhere else.  Could you please advise how to tidy this up?  Thanks a lot


Best regards


Supported languages are English and Finnish

Please use our build in TMC Pastebin when asking questions related to your code  
 
TMC Plugin has built-in code sharing feature. 
In NetBeans, select TMC -> Send code to TMC pastebin. Copy the link you receive and paste it to your message.  

You may use our web interface to share code snippets: http://paste.mooc.fi

mess...@gmail.com

unread,
Jul 6, 2015, 2:46:39 AM7/6/15
to moo...@googlegroups.com, andrewh...@gmail.com

Hello,

You only need two instance variables in this exercise, sum and amountOfNumbers. You don't need the variable number. Feel free to ask if you need more help :)

Have fun coding!
Reply all
Reply to author
Forward
0 new messages