import java.util.*;
public class Lottery {
public static void main ( String[ ] args ){
String strChoose = "0";
do{
int i = 0 , nNum=0;
for ( i = 0 ; i < 7 ; i++ ) {
nNum = (int) (Math.random( ) * 10);
System.out.print ( nNum );
}
System.out.print ("是否继续 y/n :" );
strChoose = input.next ( );
}while( strChoose.equals ("y") );
}
}