Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

reverse integer

Language: Layout:
+ ] Show input
Compilation time: 0.73 sec, absolute service time: 0,84 sec 
edit mode |  history  | discussion
Error(s), warning(s):
source_file.java:12: error: cannot find symbol
        rev=0;
        ^
  symbol:   variable rev
  location: class Rextester
source_file.java:17: error: cannot find symbol
        rev =rev*10+num%10;
        ^
  symbol:   variable rev
  location: class Rextester
source_file.java:17: error: cannot find symbol
        rev =rev*10+num%10;
             ^
  symbol:   variable rev
  location: class Rextester
source_file.java:24: error: cannot find symbol
        system.out.println("reverse integer is" +rev);
                                                 ^
  symbol:   variable rev
  location: class Rextester
source_file.java:24: error: package system does not exist
        system.out.println("reverse integer is" +rev);
              ^
5 errors