Hi Rashid.
I'm in a similiar situation as you in that I am preparing to submit my code for Say 4a.
In general, a method is just a function or subroutine. A function has to return a value. While searching past posts, I came across one relating to a method for the Say assignment. It goes:
Paul Wheaton made a good suggestion in another message that really helped me. He said...
quote:
For some cattle drive folks I add the requirement that I want
them to make a method that introduces some abstraction.
The method will take and integer and the value must be in
the range of 0 to 999. It will then "say" that value.
If you have such a method, writing your main becomes much
easier. From within this new method, your task becomes
much easier. The whole program falls together.
He's right, once you have done this the program seems to be much
easier to write and you can easily add other methods to handle thelarger numbers. One other side note, don't forget about negative numbers! (end quote)
Hope this helps.