OverkillMonkey
Programmer
import java.math.*;
import java.util.*;
public class genes {
char geenes[];
int geen = 0;
double tempgene = 0;
public void randgenes() {
for (int i=0; i=256; i++) {
tempgene = (Math.random());
geen = (int)tempgene*100;
geenes= (char)geen;
}
}
}
this is giving me an error - "genes.java": Error #: 354 : incompatible types; found: int, required: boolean at line 10, column 19
import java.util.*;
public class genes {
char geenes[];
int geen = 0;
double tempgene = 0;
public void randgenes() {
for (int i=0; i=256; i++) {
tempgene = (Math.random());
geen = (int)tempgene*100;
geenes= (char)geen;
}
}
}
this is giving me an error - "genes.java": Error #: 354 : incompatible types; found: int, required: boolean at line 10, column 19