Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

NEED URGENT HELP

Name: edo-chan 2011-12-28 11:11

sup /prog/

Ive asked this everywer already but peopl seem too lame to make even a simple program like so i hope the mighty anon programers of 4chan are more skilled

what im trying to do is to Write a method taking two parameters x and n that computes the nth power of x without using ^ or declaring a new variable inside the method or using Math lib.
and it has to be coded in JAVA (i know it sux but dont ask why i use dat shit)
hep plox!

Name: edo-chan 2011-12-28 12:03

as expected its not woking =(

Main.java:2: error: class, interface, or enum expected
    public static Double anus(Double SGERFWGERHEEETHHHHHHHWETHG, int SDGIKgrnsjsnglrSGHERI){
                  ^
Main.java:5: error: class, interface, or enum expected
      Double jieurlhigosrlijhoegterlehogti = 1.0;
      ^
Main.java:6: error: class, interface, or enum expected
      int GSJRGerhglshergsehrgSGE = (SDGIKgrnsjsnglrSGHERI > 0) ? -1 : 1;
      ^
Main.java:8: error: class, interface, or enum expected
      do { jieurlhigosrlijhoegterlehogti *= SGERFWGERHEEETHHHHHHHWETHG;
      ^
Main.java:9: error: class, interface, or enum expected
      } while((SDGIKgrnsjsnglrSGHERI += GSJRGerhglshergsehrgSGE) != 0);
      ^
Main.java:11: error: class, interface, or enum expected
      return (GSJRGerhglshergsehrgSGE == -1) ? jieurlhigosrlijhoegterlehogti : 1.0 / jieurlhigosrlijhoegterlehogti;
      ^
Main.java:12: error: class, interface, or enum expected
    }
    ^
7 errors

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List