Untitled
unknown
java
4 years ago
356 B
7
Indexable
int line1=(int)(Math.random()*5);
int line2=(int)(Math.random()*5);
if(line1!=5 && line2!=5){
if(line1>line2){
System.out.println("Please go Line 2");
}
else {
System.out.println("Please go Line 1");
}
}
else{
System.out.println("Please wait");
}
System.out.println("Line 1 : "+line1+"\nLine 2 : "+line2);Editor is loading...