08 January 2004 - java_dev (original) (raw)

| | 05:19 pm - holeinmyheart - powers and factorials... ok! thankyou so so much everyone who offered help. i think i've got them working now. **( how i did itCollapse )**i'll probably be back here next semester with possibly something slightly more taxing for you. ;) thanks much again.---this is most definitley painfully simple for the most of you i expect but i just can't seem to get my head around it...i need to write 2 methods, one to calculate powers (2 numbers given) and the other to calculate factorials (1 number given) honestly, ( thisCollapse ) is as far as i can get. ;) i'm really not expecting anyone to code this for me or anything. just a little help with the design, i think the factorial one needs to use recursion? and the powers a loop in a loop? sometimes i feel i'm really on the wrong degree. :S | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |