I was wanting the number generator to stop when an 8 was produced
Type: Posts; User: java3
I was wanting the number generator to stop when an 8 was produced
Ok this is what I've done. Like I said I am a complete novice to programming! When I run it it just keeps generating numbers non stop.
public static void main(String[] Args)
{
...
I am new to java and have been asked to write a program that will generate random numbers between 10 and 20 and then stop when 18 is generated. Have been told to use a while statement and also to use...
Hello everyone
i am just starting to learn Java and am having some difficulties so looking for some help!