Java Programming Help!

This is the forums to discuss about computers and general electronics, as for some of us, this is a major hobby!

Need any help with computers? Post and we will try to help to the best of our ability!
Post Reply
User avatar
sniper101
Posts: 1192
Joined: Wed Jan 16, 2013 6:07 pm

Java Programming Help!

Post 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

        
I love bicycling.
User avatar
sniper101
Posts: 1192
Joined: Wed Jan 16, 2013 6:07 pm

Re: Java Programming Help!

Post 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!
I love bicycling.
Post Reply