java

  import java.util.Random;
  public class Co
  {
  public static void main(String[“> args)
  {
  Random a=new Random();
  char[“> b=new char[4″>;
  for (int i=0;i<b.length ;i++ )
  {
  int a1=a.nextInt(26);
  char b1=(char)(65+a1);
  for (int j=0;j<b.length ;j++ )
  {
  char b2=b[j”>;
  }
  if (b1==b2)
  {
  System.out.println(“什么都别做”);
  }
  else
  {
  b[i”>=b1;
  }
  }for (int i=0;i<b.length ;b1++ )
  {
  System.out.print(b[i”>);
  }
  }
  }

http://wfmhw.net/mhw/3284.html

java

  import java.util.Random;
  public class Co
  {
  public static void main(String[“> args)
  {
  Random a=new Random();
  char[“> b=new char[4″>;
  for (int i=0;i<b.length ;i++ )
  {
  int a1=a.nextInt(26);
  char b1=(char)(65+a1);
  for (int j=0;j<b.length ;j++ )
  {
  char b2=b[j”>;
  }
  if (b1==b2)
  {
  System.out.println(“什么都别做”);
  }
  else
  {
  b[i”>=b1;
  }
  }for (int i=0;i<b.length ;b1++ )
  {
  System.out.print(b[i”>);
  }
  }
  }

http://wfmhw.net/mhw/3284.html

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注