Need help squashing a simple bug (b=a+b);
Go to solution
Solved by RainColt,
3 minutes ago, Fasauceome said:What language is this? Have you tried b+=a?
Its java, basically the same thing as c#.
I haven't but I just solved it. int b = 0; needed to be declared outside of the loop because it reset b back to 0 every time it looped
-
Topics
-
INotPablo ·
Posted in CPUs, Motherboards, and Memory1 -
1
-
0
-
0
-
gentlemanspot ·
Posted in Console Gaming0 -
1
-
0
-
7
-
Idkwhattodowithmylife ·
Posted in Graphics Cards6 -
4eyeguy ·
Posted in New Builds and Planning4
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now