The for loop is fine. What is inside wont get you further. Youll have to figure out how to get the power of your base, which is hard. If you keep trying youll get it sometime.
Type: Posts; User: Niels van Ee
The for loop is fine. What is inside wont get you further. Youll have to figure out how to get the power of your base, which is hard. If you keep trying youll get it sometime.
Please post code where your issue is. How can we help you if we dont have information? Please send the code you have problems with so we can help you.
But if i make a pattern (what i just read about) then it doesnt work. So that leaves that option (it doesnt work because we need the number we are trying to find but we havent found it yet)
which...
btw this is not even homework... this is for timing in a program im making.
Since I dont know about the Pattern class (and no good tutorials on it imo) i would need to go to that line and go to the second comma and start reading untill i find another comma? how would you set...
My question is:
Is it in any way, possible to go into a file and then when it comes to a line you specified it takes the input you want?
Like this:
192,160,2275,1,0,
|
I...
Well i dont know. Maybe a for loop?
For (blablabla; if blala;)
You know what i mean
Thanks i got it to work! it was that i used the variable 2 times which made it go on forever (the for loop) until the array stops.
Thanks :)
So I have been busy at some projects lately. One of them having this project
ill put up the full code and the part i have problems with:
package relax;
//importeverything
import...
Please put this in the right forum...
Thanks.
The forum "Java Networking" will try to help you ;).
If you put it over there and make an effort in posting you will get help.
Also read this.
Im...
I'm kind of a coding newb but i managed to make this:
import java.util.Scanner;
public class ReactionGame {
public static void main(String[] args) {
int Time = 0;
String s = null;
So i'm trying to help and not give the answer!
Basicly im just giving tips!
also just try to get the code you need from internet! NOT FROM ME ;P
47,92
Take the first number (4)
make that...
System.out.println("1")
System.out.println("2")
Etc.
This easy it is...
But im going to make a harder one at home.
Java is multifunctional. Scratch is a good starter but with more complicated stuff, java is the place to be
Java is "the most known language" in coding and when youre stuck youll find the most...
Tommorow there will be a link for the download.. going to sleep now! have a good day sir :)
Ehh I honestly dont know how to get a method... i just make alot of simple games... If you could explain me how I use a "Method" because I dont know.
EDIT: I got the Delay(int) from the internet...
So i was practesing with Scanner and delay...
This happened and i dont know whats wrong?
It has something to do with delay but i cant figure it out?
import java.util.Scanner;
public class...
I can give you a .jar if you want... I dont think it will work, but you might give it a shot. Just reply on this thread and I will make one!
Well what is the main problem with your question? I dont really understand. If you tell me what subjects you need help with I will help you.
System.out.println("need more info....)
;)
Bye
Sorry it's kinda hard and i don't want to rewrite the script etc etc. Good luck with the project! but now you know how to do it I suppose. Hope you can figure it out.
make a new boolean called "Again".(=true)
Then make a while before the program starts. ( While (Again = True)
after the program finishes you ask the scanner to do Y/N
Then when they say Yes make...
Well this is my first forum i will ever join...
I hope to have fun with all of you guys!
I'm a home-coder. Sorta like a hobby coder, I usually just code random calculating stuff. Such as my...