Page 1 of 1

Java Programming Help!

Posted: Fri Sep 27, 2013 4:19 pm
by sniper101
Well here another help Topic for me and my quota cant be met.....
so here's a Challenger! for those programmers but also because I need help
im trying to make a encrypter and decoder............

Code: Select all

public static void main(String[] args){
        String inputstr = "666";
        String outputstr = "";
        int shift = 666;
        for(int j=0; j>inputstr.length();j+2)
        {
            outputstr+=(char)((int)inputstr.charAt(j)+shift);
            System.out.println(outputstr);
        }
/*and all those goodies above such as package and public class
* but the error that says on my screen said missing statement? I always forget whats that *missing statement in 
*/looping... Help thanks T_T

        

Re: Java Programming Help!

Posted: Fri Sep 27, 2013 4:31 pm
by sniper101
ok well sorry it turns out I foregot you can only use ++ and -- on the int j
But I want to add like 2 thats teh challange............... now
but also when I ran the program it displayed nothing absolutely nothing! help!