this is the issue you need to learn for yourself. someone was nice enough to supply you with code, but instead of understanding it yourself and adapting it, you just copied it incorrectly. if you don't know what a method is doing, don't use it and rethink how you're trying things out.
Originally Posted by Manfizy
I guess U didn´t read the damn question!!am trying to understand what getPower() method does ok? and thats why i used it in that example.....:mad:
got it figured out:)
Thanks to everyone who contributed to this thread